Created
April 30, 2015 16:49
-
-
Save kaspergrubbe/cc9ed81c0f0ef8ef2dfd 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
def test | |
puts "Hello" | |
end | |
=> nil | |
Object.test | |
=> NoMethodError: private method 'test' called for Object:Class | |
Object.send(:test) | |
Hello | |
=> nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment