Created
December 17, 2011 09:36
-
-
Save crguezl/1489797 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
task :turn_off_alarm do | |
puts "Turned off alarm. Would have liked 5 more minutes, though." | |
end | |
task :groom_myself do | |
puts "Brushed teeth." | |
puts "Showered." | |
puts "Shaved." | |
end | |
task :make_coffee do | |
cups = ENV["COFFEE_CUPS"] || 2 | |
puts "Made #{cups} cups of coffee. Shakes are gone." | |
end | |
task :walk_dog do | |
puts "Dog walked." | |
end | |
task :ready_for_the_day => [:turn_off_alarm, :groom_myself, :make_coffee, :walk_dog] do | |
puts "Ready for the day!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment