"trans. (T. Onoma)" <transami / runbox.com> schrieb im Newsbeitrag
news:200409290747.51120.transami / runbox.com...
> On Wednesday 29 September 2004 05:19 am, Robert Klemme wrote:
> > I prefer #new because it emphasizes the factoryness of a Class
instance.
> > Class() doesn't help you in cases like these:
> >
> > class SomeFactory
> >   def initialize(cl)
> >     @cl = cl
> >   end
> >
> >   def create() @cl.new end
> >   def discard(obj) end
> > end
>
> I don't follow. Help you do what? It would still instantiate the
factory.

But you can't do

def create() @cl() end

That's the whole point of my post.

    robert