Last active
August 29, 2015 14:07
-
-
Save mrbrdo/fd3915dcb9213219ec55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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