Dave Thomas writes:

> You just did :)

>   def double_it(klass, single, double)
>     klass.class_eval %{
>       def #{double}(*args)
>         #{single}(*args)
>         #{single}(*args)
>       end
>     }
>   end

Very nice.  Could you perhaps explain the %{ } form?  I don't know
that one.  Is it another string literal, like %q{ ... }?

Thanks,

--Johann

-- 
Johann Hibschman                           johann / physics.berkeley.edu