Skip to content

Instantly share code, notes, and snippets.

@darkoperator
Created July 26, 2011 00:23
Show Gist options
  • Save darkoperator/1105618 to your computer and use it in GitHub Desktop.
Save darkoperator/1105618 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'wirble'
require 'irb/completion'
require 'pp'
IRB.conf[:AUTO_INDENT] = true
Wirble.init
Wirble.colorize
class Object
# get all the methods for an object that aren't basic methods from Object
def local_methods
(methods - Object.instance_methods).sort
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment