print str, "\n"
stuff. Using puts is shorter and cleaner, and will help deflect some of the criticisms about writing Ruby in a Perl style :-)
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.