Bugs item #10111, was opened at 2007-04-15 07:14
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10111&group_id=426

Category: Standard Library
Group: 1.8.x
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Markus Schmaus (unique2)
Assigned to: Nobody (None)
Summary: each_with_index (Enumerable) does not forward arguments to each

Initial Comment:
each_with_index (Enumerable) does not forward any arguments to each. Hence the following does not work:
"a b c".each_with_index(" ") {|x| p x}


----------------------------------------------------------------------

>Comment By: Yukihiro Matsumoto (matz)
Date: 2007-05-10 11:56

Message:
It's fixed for 1.9.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10111&group_id=426