Guest User

Untitled

a guest
Feb 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. IRB.conf[:AUTO_INDENT]=true
  2.  
  3. require 'rubygems'
  4. require 'pp'
  5. require 'what_methods'
  6. require 'wirble'
  7. Wirble.init
  8. Wirble.colorize
  9.  
  10. # Easily print methods local to an object's class
  11. class Object
  12. def local_methods
  13. (methods - Object.instance_methods).sort
  14. end
  15. end
  16.  
  17. #
  18. # Aliases
  19. #
  20. alias q exit
  21.  
  22. #
  23. # Load Rails specific extensions
  24. #
  25. load File.dirname(__FILE__) + '/.railsrc' if $0 == 'irb' && ENV['RAILS_ENV']
Add Comment
Please, Sign In to add comment