Mia Chevalier
28 November 2024
How to Display Results for Consecutive Commands in Ruby's REPL

Unlike languages like Python, Ruby's REPL frequently omits intermediate outputs and only shows the final command result. This article examines how to use tools like tap, eval, and custom configurations to change IRB so that it displays results for all successive instructions. Debugging efficiency is increased by useful solutions like Pry and .irbrc customisation.