From: Austin Ziegler Date: 2006-10-20T02:12:46+09:00 Subject: Re: String not enumerable, what about IO? (was Re: Symbol < String in Ruby > 1.8) On 10/19/06, dblack@wobblini.net wrote: > I still think the naming is very unexpected. I know it's > old-fashioned and naive to expect "things" to be a collection of > things :-) But I really do have that expectation. What about: String#by_chars String#by_lines String#by_bytes That would seem to allow for either an enumerator or a block. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca