lib/hola_jeremyje.rb in hola_jeremyje-0.0.3 vs lib/hola_jeremyje.rb in hola_jeremyje-0.0.4
- old
+ new
@@ -1,5 +1,14 @@
class Hola
+ # Say hi to the world!
+ #
+ # Example:
+ # >> Hola.hi("spanish")
+ # => hola mundo
+ #
+ # Arguments:
+ # language: (String)
+
def self.hi(language = "english")
translator = Translator.new(language)
translator.hi
end
end