From: Trans Date: 2007-06-24T20:38:52+09:00 Subject: Re: Changing enum_obj On Jun 24, 12:32 am, Trans wrote: > On Jun 24, 12:26 am, James Edward Gray II > 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.