https://github.com/cldwalker/ripl-irb
A ripl plugin to smooth the transition from irb
https://github.com/cldwalker/ripl-irb
Last synced: about 1 year ago
JSON representation
A ripl plugin to smooth the transition from irb
- Host: GitHub
- URL: https://github.com/cldwalker/ripl-irb
- Owner: cldwalker
- License: mit
- Created: 2010-11-12T21:56:41.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2013-02-16T05:30:53.000Z (over 13 years ago)
- Last Synced: 2024-10-31T10:42:16.132Z (over 1 year ago)
- Language: Ruby
- Size: 888 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- Changelog: CHANGELOG.rdoc
- License: LICENSE.txt
Awesome Lists containing this 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[:LOAD_MODULES] patch