irbtools-more
irbtools is a meta gem which installs some useful irb gems and configures your irb.
irbtools-more
adds some more irb gems which may not build out-of-the-box. Currently included: better auto completion and an object inspector.
Setup
gem install irbtools-more
-
You need
tk
for DrX (maybe trytk_as_gem
)
Usage
To use it, put the following in your ~/.irbrc
file (this file is loaded everytime you start an irb):
require 'rubygems' # only needed in 1.8
require 'irbtools/more'
If it does not exist, just create a new one.
It’s possible to modify, which libraries get loaded:
require 'irbtools/configure'
Irbtools.add_package :more # adds this extension package
# here you can edit which libraries get loaded. See the irbtools README for details.
Irbtools.start
You could also just use the base irbtools
and add the additional gems yourself.
Features
Included gems and libraries
For the libraries included in +irbtools+, see its README page or http://rbjl.net/40-irbtools-release-the-power-of-irb
Extension packages
Feel free to build your own extension package gem (see this gem’s source) and upload it to rubygems.org.
Copyright
Copyright © 2010-2011 Jan Lelis, rbjl.net. See LICENSE for details.
J-_-L