Which team opens Ruby REPL?

Which team does Ruby REPL open?

In Python, you simply open python without any arguments.

+76
ruby read-eval-print-loop
Nov 02
source share
2 answers

Use the irb command (Interactive Ruby Shell).

+63
Nov 02
source share

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.

+82
Nov 02 '12 at 10:00
source share



All Articles