Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

irbtools-more adds gems to IRB that may not build out-of-the-box

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 irbtools-more.gemspec
README.rdoc

irbtools-more

irbtools-more adds more IRB gems which may not build out-of-the-box. Currently included: bond for better auto-completion and looksee for great method introspection. It also adds the binding_of_caller gem to enable starting IRB by just calling repl anywhere in your code. See the irbtools readme for details.

Setup

gem install irbtools-more

Usage

To use it, put the following in your ~/.irbrc file (this file is loaded every time you start an irb):

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

Bundler Environments

In you Gemfile, you will need to add:

gem 'irbtools-more', require: 'debugging/repl'

Another way is to add a debundle hack at the beginning of your ~/.irbrc.

J-_-L

Copyright © 2010-2014 Jan Lelis, janlelis.de. See LICENSE for details.

Something went wrong with that request. Please try again.