----- Original Message ----- From: <nobu.nokada / softhome.net> To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Monday, February 24, 2003 1:15 AM Subject: Re: Coding challenge: Space-separated constants > Hi, > > At Mon, 24 Feb 2003 12:53:54 +0900, > Hal E. Fulton <hal9000 / hypermetrics.com> wrote: > > Hashes and arrays are allowed as long as > > their contents are constants. Regexes are > > allowed. Fancy strings are allowed, but > > not here-docs. Proc objects and other > > esoteric things are not allowed. > > What about #{}? Good question. My hesitant response is no. I am thinking of this as a data format. So there should be no variables used -- nothing that would require the presence or maintenance of a certain context. But what about something like #{rand} or #{Time.now}? Truthfully I haven't thought about it. Hal