title: Ruby using each_with_index
body: <p>I'd like this method to circle through each item in the array of names <code>katz_deli</code> and use <code>puts</code> to display the name and its index.  However, the output is just the <em>first</em> name in the array with its index. </p>
  
  <p>My code:</p>
  
  <pre><code>def line (katz_deli)
    if katz_deli.count &gt; 1
      katz_deli.each_with_index {|name, index| puts "The line is currently: #{index +1}. #{name}" }
    else
      puts "The line is currently empty."
    end
  end
  </code></pre>
  
  <p>I want my output to be <code>"The line is currently: 1. Logan 2. Avi 3. Spencer"</code>
  But I'm getting <code>"The line is currently: 1. Logan."</code> Thanks!</p>