Sha256: 923882f37c6c9bd0fe3532a973be3d7e26e32fc8823988f7b0b4c8146b366c4d

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

class Pastrychef::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

1 entries across 1 versions & 1 rubygems

Version Path
pastrychef-0.0.1 lib/pastrychef/oven.rb