Skip to content

Instantly share code, notes, and snippets.

@jubishop
Created January 13, 2016 23:37
Show Gist options
  • Save jubishop/5c1891cfb624ee0cbb28 to your computer and use it in GitHub Desktop.
Save jubishop/5c1891cfb624ee0cbb28 to your computer and use it in GitHub Desktop.
require 'irb/completion'
require 'utility_belt'
require 'interactive_editor'
require 'awesome_print'
AwesomePrint.irb!
class Object
def interesting_methods
case self.class
when Class
self.public_methods.sort - Object.public_methods
when Module
self.public_methods.sort - Module.public_methods
else
self.public_methods.sort - Object.new.public_methods
end
end
end
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
require 'wirble'
Wirble.init
Wirble.colorize
def x; exit; end;
def q; exit; end;
require 'irbtools'
require 'irbtools/more'
FancyIrb.start
require 'looksee'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment