Class: Schapi::Menu
- Inherits:
-
Object
- Object
- Schapi::Menu
- Defined in:
- lib/schapi/domain.rb
Instance Attribute Summary collapse
-
#breakfast ⇒ Object
Returns the value of attribute breakfast.
-
#dinner ⇒ Object
Returns the value of attribute dinner.
-
#lunch ⇒ Object
Returns the value of attribute lunch.
Instance Method Summary collapse
-
#initialize(breakfast, lunch, dinner) ⇒ Menu
constructor
A new instance of Menu.
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
#breakfast ⇒ Object
Returns the value of attribute breakfast.
3 4 5 |
# File 'lib/schapi/domain.rb', line 3 def breakfast @breakfast end |
#dinner ⇒ Object
Returns the value of attribute dinner.
3 4 5 |
# File 'lib/schapi/domain.rb', line 3 def dinner @dinner end |
#lunch ⇒ Object
Returns the value of attribute lunch.
3 4 5 |
# File 'lib/schapi/domain.rb', line 3 def lunch @lunch end |