How to print something without a new line in ruby December 26, 2022 by Tarik Use print instead. You may want to follow it up by STDOUT.flush.