Last active
August 29, 2015 14:11
-
-
Save jikkujose/631d892badb9375d0f30 to your computer and use it in GitHub Desktop.
What if Objects can print themselves?
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
class Object | |
def print | |
puts self.to_s | |
end | |
end | |
23.times &:print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment