Sha256: 026f3ce1e58e071b143b1f51570953ec2a11e2fa83d257c8a9bff19ed10ccdb4

Contents?: true

Size: 195 Bytes

Versions: 46

Compression:

Stored size: 195 Bytes

Contents

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

  def hi
    case @language
    when "spanish"
      "hola mundo"
    else
      "hello world"
    end
  end
end

Version data entries

46 entries across 46 versions & 28 rubygems

Version Path
hola_brandt-0.0.1 lib/hola_brandt/translator.rb
hola-spicata-0.0.2 lib/hola/translator.rb
holatestetst-1.0.1 lib/hola/translator.rb
holatestetst-1.0.0 lib/hola/translator.rb
hola_jeremyje-0.0.4 lib/hola_jeremyje/translator.rb
hola-example-0.0.5 lib/hola/translator.rb
hola-example-0.0.4 lib/hola/translator.rb
hola-example-0.0.3 lib/hola/translator.rb
hola-example-0.0.2 lib/hola/translator.rb
hola-example-0.0.1 lib/hola/translator.rb
hola_lukassup-0.0.2 lib/hola/translator.rb
hola_lukassup-0.0.1 lib/hola/translator.rb
hola_chrissy-0.0.1 lib/hola_chrissy/translator.rb
hello_tmax-0.0.1 lib/hello/translator.rb
hola_estebanmh95-0.0.0 lib/hola_estebanmh95/translator.rb
hola_cttttt-0.0.3 lib/hola_cttttt/translator.rb
hola_cttttt-0.0.2 lib/hola_cttttt/translator.rb
hola_galfus-0.0.7 lib/hola/translator.rb
hola_galfus-0.0.6 lib/hola/translator.rb
hola_galfus-0.0.5 lib/hola/translator.rb