hola_eponce19 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hola_eponce19.rb +9 -0
- 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: 1067746baf1f8fbc620a6963016b0f163e578078
|
4
|
+
data.tar.gz: b02cd9b2e31cc8ebf203bb5f8f41b13b6a4b956d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16c0fbc214f30e64f6748a44506b6ec51c050155f501fc0f7ca0271c514c517d56a067c5b91bfa7a8829e3eaea0bd9ddb38d27bc4078a2e68f5c32249188286
|
7
|
+
data.tar.gz: 4c664f2cd3cd8fd0a94aa0f9c67b861dbe5c4783018276ac5086c8a1ebcca8480fee0297172cb5ef26599d6d097354809a7947aa5ff40812574d79d202507caa
|
data/lib/hola_eponce19.rb
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
class HolaEponce19
|
2
2
|
|
3
|
+
# Say hi to the world!
|
4
|
+
#
|
5
|
+
# Example:
|
6
|
+
# >> holaEponce19.hi("spanish")
|
7
|
+
# => hola mundo
|
8
|
+
#
|
9
|
+
# Arguments:
|
10
|
+
# language: (String)
|
11
|
+
|
3
12
|
def self.hi(language = "english")
|
4
13
|
translator = Translator.new(language)
|
5
14
|
translator.hi
|