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