David A. Black wrote:
>    class C
>      def method_missing(m,*args,&block)
>        instance_eval "def #{m}; puts 'In new method!'; end"
>        send(m)
>      end
>    end
> 
>    C.new.blah   # In new method!
>


thanx...i got that. :)
-- 
Posted via http://www.ruby-forum.com/.