pablotron
--
 
Re: Wirble
Wed Dec 20 21:58:42 2006 :: Link :: Posted by JFSIII
Two things: First, I can't seem to get the colors to work correctly. 1) The ~/.irbrc below only changes the comma color 2) The color doesn't take effect unless I leave in "Wirble.colorize", which shouldn't be necessary, right? Second, is there any way to make this work with pretty print? Other than that, I love it. Thanks, John ## My .irbc ## # load libraries require 'rubygems' require 'wirble' wirble_opts = { # skip shortcuts :skip_shortcuts => true, # don't set the prompt :skip_prompt => true, # override some of the default colors :colors => { :object_addr_prefix => :yellow, :comma => :white, }, # enable color :init_color => true, } # initialize wirble with options above Wirble.init(wirble_opts) Wirble.colorize