pull/2/head
Bodaniel Jeanes 2008-11-19 14:01:35 +10:00
parent ec7f5ac200
commit 7297f455ea
1 changed files with 4 additions and 7 deletions

11
irbrc
View File

@ -2,7 +2,10 @@
require 'rubygems' require 'rubygems'
require 'wirble' require 'wirble'
__wirble_colors = { Wirble.init(:history_size => 10000)
Wirble.colorize
Wirble::Colorize.colors = {
# delimiter colors # delimiter colors
:comma => :white, :comma => :white,
:refers => :white, :refers => :white,
@ -36,12 +39,6 @@ __wirble_colors = {
:range => :light_blue, :range => :light_blue,
} }
Wirble.init(:history_size => 10000)
Wirble.colorize
Wirble::Colorize.colors = __wirble_colors
class Object class Object
# Return a list of methods defined locally for a particular object. Useful # Return a list of methods defined locally for a particular object. Useful
# for seeing what it does whilst losing all the guff that's implemented # for seeing what it does whilst losing all the guff that's implemented