© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Pete Fowler
Full Stack Software Engineer | JavaScript, TypeScript, React, C# / .NET, Amazon Web Services (AWS)
How do you capture multiple lines of console output in Ruby? Here is one way to do it. This example comes from writing a test for multiple lines of output from a command-line tic-tac-toe game, where the board should print into the console on 5 differ...
No responses yet.