Sha256: d373b0ed96df39cabdbc89740156e1b13692ff9eccc74dd54651179934f2a50f

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

class Kitchen
  def make_food(food)
    puts " <Kitchen preparing #{food}>"
    sleep(3)
    puts " <Kitchen made #{food}>"
  end
  
  def provide_food(food)
    puts " <Kitchen served up #{food}>"
  end
  
  def accountant
    @accountant ||= Accountant.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
direction-0.0.5 sample/kitchen.rb