Hi --

On Sat, 26 Aug 2006, Hal Fulton wrote:

> Ezra Zygmuntowicz wrote:
>> 
>> Darren-
>>
>>     You must be thinking of python or something else. David was not  poking 
>> fun. **args is not legal ruby syntax currently:
>> 
>> irb(main):005:0> def foo(**bar)
>> irb(main):006:1>  p bar
>> irb(main):007:1> end
>> SyntaxError: compile error
>> (irb):5: parse error, unexpected tPOW, expecting ')'
>> def foo(**bar)
>>           ^
>>         from (irb):5
>>         from :0
>> irb(main):008:0>
>
> Hmm, is it a 1.9 thing? Or just planned? I remember
> Matz showed it to us in 2003 or so at RubyConf.

Shhhhh!  Maybe he's forgotten :-)


David (and yes I know I'm posting to the whole list :-)

-- 
http://www.rubypowerandlight.com => Ruby/Rails training & consultancy
   ----> SEE SPECIAL DEAL FOR RUBY/RAILS USERS GROUPS! <-----
http://dablog.rubypal.com        => D[avid ]A[. ]B[lack's][ Web]log
http://www.manning.com/black     => book, Ruby for Rails
http://www.rubycentral.org       => Ruby Central, Inc.