Created
December 23, 2016 10:43
-
-
Save akwiatkowski/d5b872870b8dc22da577ae76f8fed6f0 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 Cat | |
def b | |
puts 1 | |
end | |
end | |
class Cat | |
def b | |
super | |
puts 2 | |
end | |
end | |
Cat.new.b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
undefined method 'b'