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
trabalho-academico-abnt-asciidoc-0.1.1 lib/trabalho-academico-abnt-asciidoc/translator.rb
sign_repository_video_extrator-0.0.3 lib/sign_repository_video_extrator/translator.rb
hola_jbennett-0.0.1 lib/hola/translator.rb
hola_thanhjamin-0.0.1 lib/hola_thanhjamin/translator.rb
hola_rjswenson-0.0.3 lib/hola/translator.rb
hola_rjswenson-0.0.2 lib/hola/translator.rb