From: Wakou Aoyama Date: 2003-02-08T15:45:47+09:00 Subject: Re: easy access for CGI query Hi, On Sat, Feb 08, 2003 at 01:03:40PM +0900, Yukihiro Matsumoto wrote: > |cgi = CGI.new > |cgi.query.params # == cgi['params'] > | > |q = CGI.new.query > |q.params > > "params" is OK, but "print" does not work, since "method_missing" will > not be called for defined methods. ?? It's work. CGI.new.query is a CGI::Query object. Not a CGI object. and, I don't like method_missing. If use method override then q.id is work, too. But, there is a problem. q.id is not return Object#id. (return cgi['id']) humm... -- Wakou Aoyama