Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A ripl plugin to smooth the transition from irb
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/ripl
.gemspec
CHANGELOG.rdoc
LICENSE.txt
README.rdoc
Rakefile
deps.rip

README.rdoc

Description

A ripl plugin that smooths the transition from irb by mocking out IRB. Safely captures all IRB calls and points to ripl equivalents for irb's commands and config options.

Install

Install the gem with:

sudo gem install ripl-irb

Usage

From the commandline

$ ripl -rripl/irb

Or add to your ~/.riplrc

require 'ripl/irb'

When your mocked out IRB encounters a ripl equivalent, it prints a message:

# When encountering a IRB.config[:HISTORY_FILE]
Use Ripl.config[:history] instead of IRB.config[:HISTORY_FILE]

When you invoke an irb command, you'll get pointed to a similar ripl command:

>> context
See config() in ripl-commands plugin

To disable printing these messages:

Ripl.config[:irb_verbose] = false

Credits

  • @me for IRB.conf[:LOAD_MODULES] patch

Something went wrong with that request. Please try again.