From: Jean-Hugues ROBERT Date: 2002-05-11T03:27:13+09:00 Subject: Re: cgi params api At 02:23 11/05/2002 +0900, you wrote: >patrick-may@monmouth.com (Patrick May) wrote in message >news:<3b3ad3b4.0205091447.5b00ce98@posting.google.com>... > > > > cgi["name"].to_a # ["value1", "value2", "value3",...] > >I just noticed that :to_a conflicts with Enumerable.to_a, which String >mixes in. Perhaps the original name :multiple is better? > >~ Patrick cgi["name"].values ? BTW: cgi[:name] would be faster, wouldn't it ? I still wonder why Symbols are under utilized... in Ruby... Perhaps cgi.name would please everybody ? That leads us to cgi.name.values... Yours, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17