From: Minero Aoki Date: 2004-04-05T17:45:47+09:00 Subject: Re: Proposed patch to add SSL support to net/pop.rb Hi, In mail "Re: Proposed patch to add SSL support to net/pop.rb" Sergey A Yanovitsky wrote: > >1. Matz has already discouraged use of ":name => value" > >style arguments. So you must explicitly write it as: > > > > Net::POP3.start(...., {:certs => c, :verify => v}) > > > >Note that "a: value, b: value" syntax is not portable. > >Ruby 1.8 has not implemented it. > > > Does that mean that ":name => value" style arguments will deprecate? And > is there other good by design ruby way to use named arguments? Yes. Its meaning *will* be changed to: m(**{a=>b, c=>d}) in Ruby 2. "**" means hash expansion. Matz stated this change in http://www.rubyist.net/~matz/20040320.html (in Japanese). Regards, Minero Aoki