From: ahoward@... (ara howard) Date: 2002-09-23T21:19:52+09:00 Subject: Re: alias/method redfinition ts wrote in message news:<200209191714.g8JHEeb09103@moulon.inra.fr>... > >>>>> "a" == ara howard writes: > > You use #eval which is evil if the eval'd string is constant, why? [snip] > def [] idx > if @fields and idx.type == String > pos = @fieldpos[idx] > return nil unless pos > self[pos] > else > super > end > end this works. though i do not understand how the super remains bound to the old [] after the call 'extend M' -a