title: Is calling puts without arguments bad practice?
body: <p>Below is a small screenshot from within RubyMine 3.1. I am just starting to learn Ruby. The code here is from the Presenter-First MVP C# code generator over at <a href="http://www.atomicobject.com/pages/Presenter+First" rel="nofollow noreferrer">atomicobject.com</a>.</p>
  
  <p>I am using this project along with a book to learn Ruby. The <a href="http://www.ruby-doc.org/core/" rel="nofollow noreferrer">documentation</a> for <code>puts</code> shows that it expects at least one parameter. Yet this code appears "somewhat legal" for two reasons:</p>
  
  <ol>
  <li>The code appears to work fine when I
  step thru it via the debugger.</li>
  <li><a href="http://ruby.about.com/od/rubyfeatures/a/io.htm" rel="nofollow noreferrer">Searching online</a>, and even <a href="https://stackoverflow.com/questions/639810/how-to-add-extra-newline-with-puts-without-sticking-newline-character-into-stri/639817#639817">here at SO</a>, shows that <code>puts</code> w/o arguments creates a newline. </li>
  </ol>
  
  <p>However, is it bad practice to do this (hence the RubyMine warning)? The code I am looking at is from 2006. I'm running it with Ruby 1.9.2 if that matters any.</p>
  
  <p><img src="https://i.stack.imgur.com/rOirA.png" alt="enter image description here"></p>