From: matz@... (Yukihiro Matsumoto) Date: 2000-01-18T09:07:20+09:00 Subject: [ruby-talk:01156] Re: Factory of classes In message "[ruby-talk:01137] Re: Factory of classes" on 00/01/14, Yukihiro Matsumoto writes: ||class Factory || def new(name) || {|name| class name def new @var = nil end end}(name) || end ||end | |How about the code like this. | | class Factory | class <