ts <decoux / moulon.inra.fr> wrote in message news:<200209191714.g8JHEeb09103 / moulon.inra.fr>...
> >>>>> "a" == ara howard <ahoward / fsl.noaa.gov> 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