Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Lets you display the ripl result as a comment on the same line.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

README.rdoc

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

Something went wrong with that request. Please try again.