Re: Alternate initializers or alternate class?



On 7/15/06, transfire@xxxxxxxxx <transfire@xxxxxxxxx> wrote:

Logan Capaldo wrote:

> The second implemented in terms of the first?
>
> class OrderHash
> def self.auto(*args)
> AutoOrderHash.new(*args)
> end
> end
>
> Yes, please have your cake and eat it too. :)

Hmmm... I like the "taste" of that ;-)

Thanks,
T.

+1 - having cake and eating it is a thing devoutly to be wished for ;)

Regards,
Sean

.



Relevant Pages