Guest User

Untitled

a guest
Feb 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. require 'rubygems'
  2. require 'wirble'
  3. Wirble.init
  4. Wirble.colorize
  5.  
  6. alias q exit
  7.  
  8. if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
  9. require 'logger'
  10. RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
  11. end
  12.  
  13. require 'pp'
  14.  
  15. # Easily print methods local to an object's class
  16. class Object
  17. def local_methods
  18. (methods - Object.instance_methods).sort
  19. end
  20. end
Add Comment
Please, Sign In to add comment