Moin.
I couldn't wait to try out the new enumerator returning no-block semantics of .each_with_index, .each_byte and so on so I backported it to Ruby 1.8. Nothing too spectacular.
I've attached the (very small) library to this mail. I might release it on RubyForge as a Gem if there really is demand for that.
Kind regards,
Florian Gross
future-enumerator.rb (3.08 KB)