Class: LemonadeStand::HeatWaveEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/lemonade_stand/events/heat_wave_event.rb

Constant Summary

Constants inherited from Event

Event::DAY_TYPES

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