>>>>> "F" == Farrel Lifson <flifson / cs.uct.ac.za> writes:

F> It's not mentioned in the Ruby Language Reference Manual (Ver 1.4).

pigeon% grep each_with_index ruby-man-1.4/*.html
ruby-man-1.4/Enum.html:<A NAME="each_with_index"><CODE>each_with_index {|<VAR>item</VAR>,<VAR>index</VAR>|...}</CODE></A>
ruby-man-1.4/rubyfaqall.html:open("example", "r+").readlines.each_with_index{|l, i|
ruby-man-1.4/rubyfaqall.html:ary.each_with_index{|l, i| l[0,0] = (i+1).to_s + ": "}
pigeon% 


Guy Decoux