Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Dec 4, 2010
1 parent 71d1b41 commit 9b057b3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.rdoc
Expand Up @@ -11,11 +11,14 @@ To be able to playback multi-line code:

sudo gem install ripl-multi_line

# Add to ~/.riplrc
require 'ripl/multi_line'

== Usage

With this plugin, ripl gains commands play and record.
<tt>ripl play</tt> plays its input, line by line, as if each line were input by a user.

<tt>ripl play</tt> plays its input, line by line, as if each line were input by a user. To play a url:
To play a url:

$ ripl play https://gist.github.com/725338
>> a = 10 ** 2
Expand All @@ -31,6 +34,13 @@ To playback a url quietly (i.e. you just want to load the url into ripl):
>> a + 10
>>

To playback a url with relevant gems automatically installed (you may want to create an rvm
gemset before doing this)

$ ripl play https://gist.github.com/622668 -i
Can I install the following gems: tilt, erubis ? ([y]/n)
....

Urls should point to raw text except for gists and any github file url
({like this}[https://github.com/cldwalker/irbfiles/blob/master/boson/commands/core/string.rb])
which are autoconverted.
Expand Down

0 comments on commit 9b057b3

Please sign in to comment.