lib/hola.rb in hola_kamihara-0.0.0 vs lib/hola.rb in hola_kamihara-0.0.3

- old
+ new

@@ -1,5 +1,18 @@ +# The main Hola driver class Hola - def self.hi - puts "Hello World!" + # 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 + +require 'hola/translator'