Method: Unicafe::Lunch#initialize
- Defined in:
- lib/unicafe/lunch.rb
#initialize(name, price, date) ⇒ Lunch
Returns a new instance of Lunch.
11 12 13 14 15 |
# File 'lib/unicafe/lunch.rb', line 11 def initialize name, price, date @name = name @price = price @date = date end |