-
-
Save jerryhebert/a8a2fa4ef97c6d57b2bb 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
[32] pry(main)> def foo | |
[32] pry(main)* end | |
=> :foo | |
[33] pry(main)> Object.private_instance_methods.include?(:foo) | |
=> false | |
[34] pry(main)> Object.instance_methods.include?(:foo) | |
=> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment