Skip to content

Instantly share code, notes, and snippets.

@arun057
Forked from padde/gist:1400075
Last active August 29, 2015 14:06
Show Gist options
  • Save arun057/1e4f6babe413412580d1 to your computer and use it in GitHub Desktop.
Save arun057/1e4f6babe413412580d1 to your computer and use it in GitHub Desktop.
# please only interesting methods!
class Object
# return only the methods not present on basic objects
def interesting_methods
(self.methods - Object.new.methods).sort
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment