Sha256: 77f4853e7244aeb27b1d53750b38881c32c403a87d0810c7da5cfbd051de07c0

Contents?: true

Size: 250 Bytes

Versions: 40

Compression:

Stored size: 250 Bytes

Contents

class Hola::Translator
  def initialize(language = "english")
    @language = language
  end

  def hi
    case @language
    when "spanish"
      "hola mundo"
    when "korean"
      "anyoung ha se yo"
    else
      "hello world"
    end
  end
end

Version data entries

40 entries across 40 versions & 27 rubygems

Version Path
puppet-module-win-system-r-0.0.0 lib/hola/translator.rb
holabad-0.0.1 lib/hola/translator.rb
hola_hunt-0.0.3 lib/hola/translator.rb
hola_hunt-0.0.2 lib/hola/translator.rb
hola_hunt-0.0.1 lib/hola/translator.rb
hola_ellenwang-0.0.2 lib/hola_ellenwang/translator.rb
hola_ctmayn-0.0.1 lib/hola/translator.rb
hola_tetso1-0.0.3 lib/hola/translator.rb
hola_negabaro-0.0.1 lib/hola/translator.rb
hola_tarar-0.0.6 lib/hola/translator.rb
hola_tarar-0.0.5 lib/hola/translator.rb
hola_tarar-0.0.4 lib/hola/translator.rb
hola_tarar-0.0.2 lib/hola/translator.rb
hola_tarar-0.0.1 lib/hola/translator.rb
hola-yxiaoak-0.0.1 lib/hola/translator.rb
hola1989-0.0.2 lib/hola/translator.rb
hola_rubygems-0.0.1 lib/hola_rubygems/translator.rb
hola_frank-0.0.1 lib/hola_frank/translator.rb
anusblaster-0.1.0 lib/hola/translator.rb
hola_koala-0.0.1 lib/hola/translator.rb