On 6/23/07, Gregory Brown <gregory.t.brown / gmail.com> wrote:

> Oh, the new literal syntax is:
>
> { foo : 2, bar : 10 }
>
> so that'd be my_method( foo : 2, bar : 10 )
>
> But it's supposed to be an addition, not a replacement for the { :foo
> => 2 } syntax.


Yep, a little more syntactic sugar, or maybe saccharine, since it
slims down the expression a bit.<G>.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/