Created
May 31, 2011 18:01
-
-
Save anthonybishopric/1000979 to your computer and use it in GitHub Desktop.
How to make Anthony happy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class You < Person | |
include Transportation | |
state_machine :wednesday_night, :initial => :no_plans do | |
before_transition :no_plans => :making_anthony_happy, :do => :come_to_dukegen_pitch_at_rocketspace! | |
end | |
def come_to_dukegen_pitch_at_rocketspace! | |
at '2011-06-01 18:00:00' do | |
MUNI("Fremont", "Howard") || drive_to(parking_near("Fremont", "Howard")) | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment