Re: Alternate initializers or alternate class?




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.


.



Relevant Pages

  • Re: Alternate initializers or alternate class?
    ... > class OrderHash ... > def self.auto ... please have your cake and eat it too. ...
    (comp.lang.ruby)
  • Re: Greetings! New to the diabetic newsgroup!
    ... :>12:07PM 109 Ate a piece of cake, to keep me from going too low ... :>6:36PM 88 Ate chop suey and drank a regular Coke ... As to what to eat - experiment. ... lows and do not need to be corrected. ...
    (alt.support.diabetes)
  • Re: Commuter food use
    ... fuel food - thats the sort of food that makes me feel better for an ... I'd eat a bowl of cereal before setting off and another on arrival, ... Large portions of normal foods at lunch and supper and cake at teatime. ... If I eat sufficient in the morning to stop the hunger I feel bloated and sick and it greatly affects my ride! ...
    (uk.rec.cycling)
  • Re: Atkins news link
    ... those no-no's for diabetics is "i can't eat that ... but i can eat some with dinner tomorrow ... they are into Thai food. ... > me a big fancy black-forest cake. ...
    (alt.support.diabetes)
  • Re: Letter to CHRISTIAN SCIENCE CHURCH
    ... > That is what I use dictionaries and the Internet for; ... >> you can't have your cake and eat it too. ... > Coward. ...
    (sci.physics.relativity)