What is A REPL in Ruby? (IRB, Pry & More)
REPL stands for Read-Eval-Print-Loop. It’s a program that allows you to type Ruby code & see the result directly. One popular REPL is irb. Another is pry. They’re useful because you can quickly test how some Ruby code works. For example: If you’re trying to convert an array of strings into an array of integers. … Read more