From: patrick-may@... (Patrick May) Date: 2002-05-10T08:02:18+09:00 Subject: Re: cgi params api Wakou Aoyama wrote in message news:<20020509165038.GA9871%wakou@fsinet.or.jp>... > Hi, > > cgi.rb has undocumented method "CGI#param". > > cgi.param["name"] # == cgi.params["name"].join("\0") > > > > now : cgi["name"] == cgi.params["name"] > future?: cgi["name"] == cgi.param["name"] > > if cgi["name"] == cgi.param["name"] then > > cgi["name"].to_a # ["value1", "value2", "value3",...] > > how about? This looks better than my suggestion. I like that you make the single param with the join. to_a is also a better name than multiple. ~ Patrick