Ramaze/ramaze — Issue #29: Allow users to use a custom REPL
Author: YorickPeterse
Created: 2012-01-25 14:20:30+00:00
State: open

It would be pretty cool if users could use an alternative to IRB when invoking
``ramaze console``. Currently the only way of doing this is by re-defining the
``IRB`` constant:

# app.rb
require 'ramaze'
require 'pry'

IRB = Pry # Gives a warning but it works.

One way would be to allow users to specify their own constant to use instead of
``IRB`` but it would mean all REPLs have to use the same API (or at least
respond to ``.start()``). An alternative is to only add support for Pry using
an option such as ``--pry`` when calling ``ramaze console``.