A ripl plugin that indents your entered Ruby code.
Install the gem with
gem install ripl-auto_indent
Add the following line to your ~/.riplrc
The plugin rewrites the last line (if the there are closing elements). If this is too buggy for you or your terminal does not support it, you can deactivate it with Ripl.config[:auto_indent_rewrite] = false. You can change the default two spaces used for indention (per level) with Ripl.config[:auto_indent_space].
Not 100% correct ;)
Long lines might cause wrong rewriting (if activated)