Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class A
def foo
:bar
end
end
a = A.new
puts a.foo # => :bar
class A
def foo
:not_bar
end
end
puts a.foo # => :not_bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment