Hi all, 

First, here's a piece of working code that prints the values "1 2 3"
as one would expect:


class Array
  def each2
    each {|value| puts value}
  end
end
[1, 2, 3].each2


**HOW IN THE NAME OF ALAN TURING DOES _each2_ PASS _value_ TO
_each_***?!?!  I could see how it works if the string ".each2" were
literally replaced with ".each {|value| puts value}" (ala tcl), but
everything i think i know about method calls tells me that its
probably not that simple.


Thanks in advance for your assistance in helping me understand ruby!
Jake