class Bula::Translator
Public Class Methods
new(lang)
click to toggle source
# File lib/bula/translator.rb, line 2 def initialize(lang) @language = lang end
Public Instance Methods
hi()
click to toggle source
# File lib/bula/translator.rb, line 6 def hi case @language when "fiji" "bula bula" when "spanish" "hola mundo" else "hello world" end end