Re: Alternate initializers or alternate class?
- From: transfire@xxxxxxxxx
- Date: Sat, 15 Jul 2006 12:34:51 +0900
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.
.
- Follow-Ups:
- Re: Alternate initializers or alternate class?
- From: Sean O'Halpin
- Re: Alternate initializers or alternate class?
- References:
- Alternate initializers or alternate class?
- From: transfire
- Re: Alternate initializers or alternate class?
- From: Logan Capaldo
- Alternate initializers or alternate class?
- Prev by Date: Re: possible DIR["**"] anomaly
- Next by Date: Re: Mac OSX Ruby Configuration Question
- Previous by thread: Re: Alternate initializers or alternate class?
- Next by thread: Re: Alternate initializers or alternate class?
- Index(es):
Relevant Pages
|
|