Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2bc0a00aae
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.506 kb
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:PROMPT_MODE] = :SIMPLE
require 'irb/completion'
require 'pp'
%w[rubygems].each do |gem|
begin
require gem
rescue LoadError => e
warn e.inspect
end
end
class Object
def local_methods(obj = self)
(obj.methods - obj.class.superclass.instance_methods).sort
end
end
if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
require 'logger'
RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
end
Jump to Line
Something went wrong with that request. Please try again.