Description
This ripl plugin lets you output your result as a comment (using the #=> rocket).
Install
Install the gem with:
gem install ripl-rocket
Usage
Add to your ~/.riplrc
require 'ripl/rocket'
Configuration
There is a Ripl.config[:rocket_mode]
setting. If it is set to false
, the rocket won’t be used.
The default value for this setting is :auto
, which means the rocket will be used, if there is enough space on the last line and there has not been too much standard output.
Set it to any other true value and the plugin will always use the rocket.
You can change the rocket prompt with Ripl.config[:rocket_prompt]
and set a color with Ripl.config[:rocket_color]
.
Bugs / TODO
Input methods are currently not supported.
Copyright
Thanks to genki for the original idea :).
Copyright © 2011 Jan Lelis <rbjl.net> released under the MIT license.
J-_-L