README in ripl-rc-0.1.5 vs README in ripl-rc-0.2.0
- old
+ new
@@ -8,10 +8,19 @@
## DESCRIPTION:
ripl plugins collection, take you want, leave you don't.
+## REQUIREMENTS:
+
+* Tested with MRI 1.8.7, 1.9.2 and Rubinius 1.2.3, JRuby 1.6.0
+* ripl
+
+## INSTALLATION:
+
+ gem install ripl-rc
+
## SYNOPSIS:
If you don't know what is __ripl__, or just want to have an
overview of what does __ripl-rc__ do, then you can use it as
a command line tool:
@@ -56,25 +65,35 @@
upon session ends:
* `require 'ripl/rc/squeeze_history'`
- which squeezes the same input in history, both in memory
+ Which squeezes the same input in history, both in memory
and history file.
* `require 'ripl/rc/mkdir_history'`
- which calls `mkdir -p` on directory which contains history
+ Which calls `mkdir -p` on directory which contains history
file. For example, I put my irb_history in an directory
might not exist before use: `~/.config/irb/irb_history`
* `require 'ripl/rc/ctrld_newline'`
- ruby 1.9.2 has no this problem in irb, but 1.8 and ripl do.
+ Ruby 1.9.2 has no this problem in irb, but 1.8 and ripl do.
When hitting ctrl+d to exit ripl, it would print a newline
instead of messing up with shell prompt.
+upon exception occurs:
+
+* `require 'ripl/rc/last_exception'`
+
+ We can't access $! for last exception because input evaluation
+ is not in the block which rescues the exception, neither can we
+ update $! because it's a read only pseudo global variable.
+
+ This plugin makes last rescued exception stored in `Ripl.last_exception`
+
upon formatting output:
* `require 'ripl/rc/strip_backtrace'`
ripl prints the full backtrace upon exceptions, even the
@@ -143,17 +162,9 @@
* `require 'ripl/rc'`
This requires anything above for you, and is what `ripl rc`
and `ripl rc rails` shell commands did.
-
-## REQUIREMENTS:
-
-* ripl
-
-## INSTALL:
-
- gem install ripl-rc
## LICENSE:
Apache License 2.0