lib/hola_channie.rb in hola_channie-0.0.0 vs lib/hola_channie.rb in hola_channie-0.0.1
- old
+ new
@@ -1,5 +1,8 @@
class Hola
- def self.hi
- puts "Hello world Channie!"
+ def self.hi(language = "english")
+ translator = Translator.new(language)
+ translator.hi
end
end
+
+require 'hola/translator'