Skip to content

Instantly share code, notes, and snippets.

@akwiatkowski
Created December 23, 2016 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akwiatkowski/d5b872870b8dc22da577ae76f8fed6f0 to your computer and use it in GitHub Desktop.
Save akwiatkowski/d5b872870b8dc22da577ae76f8fed6f0 to your computer and use it in GitHub Desktop.
class Cat
def b
puts 1
end
end
class Cat
def b
super
puts 2
end
end
Cat.new.b
@akwiatkowski
Copy link
Author

akwiatkowski commented Dec 23, 2016

undefined method 'b'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment