From: Jeff Wood Date: 2005-11-23T17:33:13+09:00 Subject: Re: what is the ruby way to do this? ------=_Part_3719_5383136.1132734788185 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Heh, and to think the only reason I did it was because I figured just havin= g the { [] } would confuse things ( badly formed hash declaration ) so I put the goalposts in just to be sure that it saw things as a block body ... I'll gladly take credit, I'm glad I'll be remembered for something now ( heh, need to get that into the rubyscore app )... for my "empty goalpost" strategem ;) . I'm not Dave Thomas or DHH or _why ... or matz ... or any of the countless others that have helped me better myself as a Rubyist, but hopefully one day I'll get to have a big impact ... and pay them all back. = I thank you all everyday I get to play with Ruby. Anyways, You could seperate them if you didn't want them to look like or ..= . like ... { | | [] } ... although that's kinda ugly to me. I'd be just as happy to use the new block syntax ->{ [] } ... when is that going to see the light of day ??? j. -- "Remember. Understand. Believe. Yield! -> http://ruby-lang.org" Jeff Wood ------=_Part_3719_5383136.1132734788185--