README.rdoc in ripl-0.2.2 vs README.rdoc in ripl-0.2.3
- old
+ new
@@ -59,11 +59,11 @@
* _ for last result
* Type 'exit' or Ctrl-D to exit
* 6 common commandline options: -f, -r, -I, -d, -h, -v
* IRB.conf -> Ripl.config
* Enhancements over irb
- * ~200 lines vs irb's 5000+ lines
+ * ~230 lines vs irb's 5000+ lines
* Easily extendable with plugins
* Tests and documentation!
* Customizable completion and completion of method arguments (from bond)
* Easy to create custom shells for gems and apps i.e. Ripl.start
* Easy to create and invoke ripl commands
@@ -81,10 +81,12 @@
they can be packaged as gems and reused across shells as needed. ripl highly encourages plugins by
loading them as early as possible and allowing them to extend most of ripl's functionality.
As an example plugin, let's color error messages red:
- # Place in ~/.riplrc
+ require 'ripl'
+
+ # To try place in ~/.riplrc
module Ripl
module RedError
def format_error(error)
"\e[31m#{super}\e[m"
end