Search code examples
rubyread-eval-print-loop

What command opens Ruby's REPL?


What command opens Ruby's REPL?

In Python, you simply open python without any arguments.


Solution

  • Use the irb (Interactive Ruby Shell) command.

    https://en.wikipedia.org/wiki/Interactive_Ruby_Shell