hola_zlau 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hola_zlau.rb +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37306766dfd20caa26c7d9c44b61999bc2dde2b9
|
4
|
+
data.tar.gz: 2084ae78bedf3c2fb2d4e742c80a6fb10d74922a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc032140e2eb56989175b72a50f93cb3490619c3ae090812b49a68da764519237b3cd399991bf46bba8f2f4bc41b73bb8d647d013171be6366b7398ab2fca1e
|
7
|
+
data.tar.gz: b54f26e08788132769982fcd664b2ceb729297acc2cbd2d17474f6da64dddc8e3540cce48507df9ca80fd4ca33f9d76c0eeb8cbed09df6d7db4eb27ea7710068
|
data/lib/hola_zlau.rb
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
require 'hola_zlau/translator'
|
2
|
-
#
|
2
|
+
# The main HolaZlau driver
|
3
3
|
class HolaZlau
|
4
|
+
# Say hi to the world!
|
5
|
+
#
|
6
|
+
# Example:
|
7
|
+
# >> HolaZlau.hi('spanish')
|
8
|
+
# => hola mundo
|
9
|
+
# Arguments:
|
10
|
+
# language: (String)
|
11
|
+
|
4
12
|
def self.hi(language = 'english')
|
5
13
|
translator = Translator.new(language)
|
6
14
|
translator.hi
|