Sha256: 427442079f85e6918c535df162b8cb38ed8dcaed8f1f9dd7fcfe69df0ee3bf8e

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hola-0.0.1 lib/hola/translator.rb