Created
September 2, 2014 13:10
-
-
Save manuelbrunner/414f135eb6c292d13407 to your computer and use it in GitHub Desktop.
be awesome according to pic
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
@state = :sad | |
class TrueClass | |
def stop | |
@state = :neutral | |
end | |
end | |
def sad | |
@state == :sad | |
end | |
def beAwesome | |
puts "Awesome!" | |
end | |
# begin original quote | |
if (sad() === true) | |
sad().stop(); | |
beAwesome(); | |
end | |
# end original quote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment