Class: LemonadeStand::HeatWaveEvent
- Defined in:
- lib/lemonade_stand/events/heat_wave_event.rb
Constant Summary
Constants inherited from Event
Instance Method Summary collapse
Methods inherited from Event
build, cloudy_event_for, for, hot_and_dry_event_for, sunny_event_for
Instance Method Details
#modify(choice) ⇒ Object
5 6 7 |
# File 'lib/lemonade_stand/events/heat_wave_event.rb', line 5 def modify choice choice.max_sales * 2 end |