Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'wirble'
- Wirble.init
- Wirble.colorize
- alias q exit
- if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
- require 'logger'
- RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
- end
- require 'pp'
- # Easily print methods local to an object's class
- class Object
- def local_methods
- (methods - Object.instance_methods).sort
- end
- end
Add Comment
Please, Sign In to add comment