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