title: Return variable rather than the value
body: <p>I am curious about a feature of the .each method. </p>
  
  <pre><code>a = 1 
  b = 2
  
  [a,b].each do |x|
    puts x
  end
  </code></pre>
  
  <p>Is there a way for ruby to return the variable "a" rather than the value 1?</p>