From: uncutstone wu Date: 2006-05-19T12:25:29+09:00 Subject: Re: Make a revised version of design patterns in ruby Jim Weirich wrote: > The way I understood the examle is that "create_something" IS the > client. It gets passed the abstract factory (parameter named factory) > and is actually shielded from the concrete class of the factory. The > example is confusing in that the client immediately passes the created > object to the calling context (which is where the concrete factory is > know), but the comments seem to make it clear the intention of the > author. Ah, it seems I misunderstood something. I think the name "create_something" fools me , it sounds like a factory method. Sorry. I suggest the author changes the name . -- Posted via http://www.ruby-forum.com/.