title: How can I prevent the printing of the return value of a closure in Rails?
body: <p>In a given html.erb file, I have</p>
  
  <pre><code>&lt;%= render "steps_list", :post =&gt; @post%&gt;
  </code></pre>
  
  <p>In <code>_steps_list.html.erb</code>, I have</p>
  
  <pre><code>&lt;%= @post.step_names.each do |step| %&gt;
      Step: &lt;%= "#{step}" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>This works well with one exception. Each step is printed out as I want, but the entire array is also printed out at the end.</p>
  
  <p><code>Step: Rinse Step: Lather Step: Repeat RinseLatherRepeat</code></p>
  
  <p>I suspect the entire array is printed out at the end because the closure returns the array when it's finished executing.  How do I suppress the printing of the array or the return value of the closure?</p>