Skip to content

Instantly share code, notes, and snippets.

@acuppy
Created July 26, 2016 15:59
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 acuppy/4199944bc977f95d25f725b5c09cb7bd to your computer and use it in GitHub Desktop.
Save acuppy/4199944bc977f95d25f725b5c09cb7bd to your computer and use it in GitHub Desktop.
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