Lex Williams wrote:
> one way would be to use instance_eval :
> 
> def new(&blk)
>    instance_eval &blk
> end

I meant to write :

 def initialize(&blk)
    instance_eval &blk
 end

too much java can get you high .
-- 
Posted via http://www.ruby-forum.com/.