On Sat, Oct 21, 2006 at 01:11:36AM +0900, dblack / wobblini.net wrote:
> Did you see Austin's by_* methods?
> 
>   string.lines   # an array

>   string.by_lines { }   # enumeration (no intermediate array)

This is identical to ruby1.8's string.each_line {}

>   string.by_lines       # enumerator (or your "something"?)

This is identical to ruby1.9's string.each_line.

> I really like that way of breaking it out.

I like the functionality, and #lines, but why not keep using "each_"
instead of "by_"?

Sam