Created
February 4, 2013 05:36
-
-
Save klebervirgilio/4705195 to your computer and use it in GitHub Desktop.
RUBY: Shows the Class or Instance methods, without too much crap.
This file contains hidden or 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
module ClearMethods | |
extend self | |
def __clear_methods | |
methods - Object.methods | |
end | |
end | |
class Object | |
include ClearMethods | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment