From: Robert Feldt Date: 2001-12-04T17:52:21+09:00 Subject: [ruby-talk:27422] Re: Selecting class based on external information On Tue, 4 Dec 2001, Dave Thomas wrote: > 3. MOre complex, but sexier: > > Have the Host class hierarchy manage itself, and generate the > factory method semi-automatically. For example: > I tend to use this method. Anyone found drawbacks with it? Is it a named/known pattern of some sort? If not maybe we should add it to some cookbook/Wiki somewhere? Regards, RobertF