Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created April 25, 2009 19:09
Show Gist options
  • Save bcardarella/101717 to your computer and use it in GitHub Desktop.
Save bcardarella/101717 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'wirble'
require 'pp'
Wirble.init
Wirble.colorize
class Object
def local_methods
(methods - Object.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment