elo-world 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/elo-world +4 -0
- data/lib/elo-world/translator.rb +18 -0
- data/lib/elo-world.rb +5 -2
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e624072ed8358ca92b59fb6edc3e7e1bd78fde
|
4
|
+
data.tar.gz: be5a2f631d87818d80a8d217e240775fd43af1d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47cd4dfbb409210c45aac0c586f616aee3309f081af67736ec6e22db798fcb8dda26dc87ef29dd922e9f7021f95f1bb361e286f2c711f2372c8f9b9968b44766
|
7
|
+
data.tar.gz: b33501f479552f26a65333f197d84636e0da2998b5ec8a0d433a1b6b526a98bbeaf859ee9b59c86e7db69d58b9e2b5a9eaa84bec6f78303899b68d7cfcc9a8fd
|
data/bin/elo-world
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
class Hola::Translator
|
2
|
+
def initialize(language)
|
3
|
+
@language = language
|
4
|
+
end
|
5
|
+
|
6
|
+
def hi
|
7
|
+
case @language
|
8
|
+
when "spanish"
|
9
|
+
"hola mundo"
|
10
|
+
when "german"
|
11
|
+
"hallo Welt"
|
12
|
+
when "korean"
|
13
|
+
"anyoung ha se yo"
|
14
|
+
else
|
15
|
+
"elo world"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/elo-world.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elo-world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jen Lijó
|
@@ -12,12 +12,15 @@ date: 2017-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
13
13
|
description: A simple elo world gem
|
14
14
|
email: jvarelalijo@gmail.com
|
15
|
-
executables:
|
15
|
+
executables:
|
16
|
+
- elo-world
|
16
17
|
extensions: []
|
17
18
|
extra_rdoc_files: []
|
18
19
|
files:
|
20
|
+
- bin/elo-world
|
19
21
|
- lib/elo-world.rb
|
20
|
-
|
22
|
+
- lib/elo-world/translator.rb
|
23
|
+
homepage: https://github.com/jen-v/elo-world-gem
|
21
24
|
licenses:
|
22
25
|
- MIT
|
23
26
|
metadata: {}
|