man/ripl.1.html in ripl-0.2.6 vs man/ripl.1.html in ripl-0.2.7
- old
+ new
@@ -78,11 +78,11 @@
<code>ripl</code> - <span class="man-whatis">Ruby Interactive Print Loop - A light, modular alternative to irb</span>
</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
-<pre><code>ripl [-r|--require] [-I] [-f] [-d] [-h|--help] [-v|--version] COMMAND [ARGS]
+<pre><code>ripl [COMMAND] [-r|--require] [-I] [-f] [-d] [-h|--help] [-v|--version] [ARGS]
</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>ripl is a light, modular alternative to irb. Like irb, it loads ~/.irbrc, has autocompletion and
@@ -228,11 +228,11 @@
</code></pre>
<p>Ripl.start takes the same config keys mentioned in the <code>CONFIGURATION</code> section. For example if you wanted to
start on a specific binding:</p>
-<pre><code>Ripl.start :binding => MyClass.send(:binding)
+<pre><code>Ripl.start :binding => MyClass.instance_eval{ binding }
</code></pre>
<p>Also, since all shells load ~/.riplrc, Ripl.start can be used to override undesirable global
configuration for a custom shell.</p>
@@ -241,13 +241,13 @@
<p>A ripl command is a command passed to ripl that loads a custom shell. It's a convenient way to
package and invoke custom shells. A ripl command can take standard ripl options as long as they are
before the command:</p>
<pre><code># Load rails console without ~/.irbrc
-$ ripl -f rails
+$ ripl rails -f
# Load rails console with debugger
-$ ripl -rrdebug rails
+$ ripl rails -rrdebug
</code></pre>
<p>To create a ripl command, create an executable in the format ripl-command and make sure it's in your
shell's $PATH. For example, the file 'ripl-my_gem' would be invoked with 'ripl my_gem'. Any
arguments to a ripl command can be parsed as the ripl command pleases i.e. into options and