On Jun 24, 12:32 am, Trans <transf... / gmail.com> wrote:
> On Jun 24, 12:26 am, James Edward Gray II <j... / grayproductions.net>
> wrote:
>
> > On Jun 23, 2007, at 11:07 PM, Trans wrote:
>
> > > Anyway to change an Enumerator's enum_obj in place? Enumerator doesn't
> > > seem to support the #collect! method.
>
> > Knowing that an object is Enumerable doesn't tell you anything about
> > how to edit it, so there's no way Enumerable could logically support
> > destructive operations.
>
> Ah, of course.

Wait. Yes, the #collect! method isn't going to fly, but if I could
just reassign enum_object -- that would actually better.

T.