Skip to content

Instantly share code, notes, and snippets.

@mrbrdo
Last active August 29, 2015 14:07
Show Gist options
  • Save mrbrdo/fd3915dcb9213219ec55 to your computer and use it in GitHub Desktop.
Save mrbrdo/fd3915dcb9213219ec55 to your computer and use it in GitHub Desktop.
class Object
def test1 # instance method!
end
end
Object.test1 # OK
class SomeClass
def test2
end
end
SomeClass.test2 # NoMethodError, obviously
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment