RubyGems
npm
Organizations
Log in
Sign up
RubyGems
hola_ancientalex
Versions diffs
0.0.2 → 0.0.4
hola_ancientalex 0.0.2 → 0.0.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/hola_ancientalex.rb
+9
-0
metadata
+1
-1
data/lib/hola_ancientalex.rb
CHANGED
Viewed
@@ -1,4 +1,13 @@
1
+
# The main Hola driver
1
2
class Hola
3
+
# Say hi to the world!
4
+
5
+
# Example:
6
+
# >> Hola.hi(:spanish)
7
+
# =>
8
+
#
9
+
# Arguments:
10
+
# language: (Symbol)
2
11
def self.hi(language = :english)
3
12
translator = Translator.new(language)
4
13
translator.hi
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: hola_ancientalex
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
2
4
+
version: 0.0.
4
5
5
prerelease:
6
6
platform: ruby
7
7
authors: