Created
December 6, 2011 22:57
-
-
Save brianstorti/1440450 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
class Thing | |
def do_something | |
puts "a" | |
end | |
end | |
thing = Thing.new | |
def thing.do_something | |
puts "b" | |
end | |
thing.do_something # => "b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment