WIRB Interactive Ruby

WIRB syntax highlights Ruby objects.

Supported Rubies: 2.2, 2.1, 2.0, jruby, rubinius.

Legacy Rubies (1.9, 1.8): Use WIRB 1.0

Example output

Features

Install

Install the gem with:

$ gem install wirb

Usage

To start IRB with WIRB activated for one session, do:

$ irb -r wirb --inspect wirb

To activate WIRB permanently, you'll need to add this to the ~/.irbrc file:

require 'wirb'
Wirb.start

Bundled Schemas

These are the bundled color schemas. You can load one with Wirb.load_schema :name

Kernel#wp

You can use WIRB like awesome_print to highlight any objects using wp:

require 'wirb/wp'
wp some_object

Also See

Credits

Copyright © 2011-2015 Jan Lelis janlelis.com see COPYING for details.

Influenced by code from: Copyright (C) 2006-2009 Paul Duncan pabs@pablotron.org

All contributors