title: How to pass multiple arguments into a Ruby method
body: <p>Passing one argument at a time into the parser method works. 
  More than one and it generates "syntax error, unexpected ',', expecting ')' (SyntaxError)"</p>
  
  <pre><code>$array = []
  array_1 = %w(tuna salmon herring)
  array_2 = %w(crow owl eagle dove)
  
  def parser (*argument)
    argument.each do |item|
      $array &lt;&lt; item
    end
  end
  
  parser (array_1, array_2) # taking multiple arguments generates error
  $array.flatten!
  puts $array
  </code></pre>