Project

ripl-irb

0.0
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.2.5
 Project Readme

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 patch