Sha256: 3470da156758fa7dd8ffd0f70d75d1f8579bdfd415c8b72694a549107eba8fb1

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

class Day
  attr_accessor :date, :breakfast, :lunch, :dinner
  def initialize(dining_hall, date)
    @date = date
    @breakfast = Menu.new(dining_hall, date, 'breakfast')
    @lunch = Menu.new(dining_hall, date, 'lunch')
    @dinner = Menu.new(dining_hall, date, 'dinner')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pennu-0.0.1 lib/classes/day.rb