Skip to content

Instantly share code, notes, and snippets.

@bemurphy
Created October 30, 2009 20:44
Show Gist options
  • Select an option

  • Save bemurphy/222706 to your computer and use it in GitHub Desktop.

Select an option

Save bemurphy/222706 to your computer and use it in GitHub Desktop.
class Foo
def bar
puts "bar!"
end
end
foo = Foo.new
foo.bar # outputs "bar!"
class Foo
def foobar
puts "foobar!"
end
end
foo.foobar # outputs "foobar!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment