Class: Schapi::Menu

Inherits:
Object
  • Object
show all
Defined in:
lib/schapi/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(breakfast, lunch, dinner) ⇒ Menu



5
6
7
8
9
# File 'lib/schapi/domain.rb', line 5

def initialize(breakfast, lunch, dinner)
    @breakfast = breakfast
    @lunch = lunch
    @dinner = dinner
end

Instance Attribute Details

#breakfastObject

Returns the value of attribute breakfast.



3
4
5
# File 'lib/schapi/domain.rb', line 3

def breakfast
  @breakfast
end

#dinnerObject

Returns the value of attribute dinner.



3
4
5
# File 'lib/schapi/domain.rb', line 3

def dinner
  @dinner
end

#lunchObject

Returns the value of attribute lunch.



3
4
5
# File 'lib/schapi/domain.rb', line 3

def lunch
  @lunch
end