Created
April 9, 2010 16:19
-
-
Save jmeridth/361332 to your computer and use it in GitHub Desktop.
hobby suggestions in ruby
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
case suggested_hobby.suggested_by | |
when "Joe Ocampo" | |
raise "Hobby requirement met with reading code, no others necessary" | |
when wife | |
try_once_to_appease_and_move_on | |
else | |
raise "No thanks" | |
end |
something about someone telling me to "go fly a kite" seem....mean.
The way that method sounds, it's probably defined like:
class Hobby
def try_once_to_appease_and_move_on
self.execute() rescue nil
end
end
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I still think you would make an awesome Kite flyer. :-)