liygem 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/liygem +2 -2
- data/lib/hello/{translator.rb → hello.rb} +2 -2
- data/lib/liygem.rb +5 -5
- metadata +2 -2
data/bin/liygem
CHANGED
data/lib/liygem.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Liygem
|
2
2
|
|
3
|
-
|
3
|
+
require 'hello/hello'
|
4
|
+
|
5
|
+
class Liygem
|
4
6
|
|
5
7
|
#Say Hi in 4 languages!!!!!!!
|
6
8
|
#For the first time ever, Ukrainian Support!
|
@@ -13,9 +15,7 @@ class Hi
|
|
13
15
|
# language: (string)
|
14
16
|
|
15
17
|
def self.sayHello(language = "english")
|
16
|
-
translator =
|
17
|
-
translator.
|
18
|
+
translator = Hello.new(language)
|
19
|
+
translator.translateHello
|
18
20
|
end
|
19
21
|
end
|
20
|
-
|
21
|
-
require 'hello/translator'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: liygem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -19,7 +19,7 @@ extensions: []
|
|
19
19
|
extra_rdoc_files: []
|
20
20
|
files:
|
21
21
|
- lib/liygem.rb
|
22
|
-
- lib/hello/
|
22
|
+
- lib/hello/hello.rb
|
23
23
|
- bin/liygem
|
24
24
|
homepage: http://rubygem.org/gems/liygem
|
25
25
|
licenses:
|