There are several REPLs for Ruby.
The standard library comes with a REPL called IRb (for Interactive Ruby) that installs a program called irb , but since it is only a Ruby library, it can also be called from Ruby code, and not just from a shell. In Rubinius, IRb can also be called. by simply calling the rbx program rbx no arguments, as in CPython.
There is also a very good REPL called Pry that installs a program called pry , but since it is just a Ruby library, it can also be called from Ruby code, and not just from the shell.
JRuby ships an additional REPL called JIRb Swing, called by calling jirb_swing .
NetBeans Ruby Plugin also comes with REPL.
JΓΆrg W Mittag Nov 02 '12 at 10:00 2012-11-02 10:00
source share