Output multiple lines in one Ruby puts statement via @andycroll
Output multiple lines in one puts statement
Did you know, you can print multiple lines of output in a single
putsstatement?puts "This", "is", "a", "test" This is a test => nil
Didn't know about this. Useful