From: ahoward Date: 2003-02-01T02:26:50+09:00 Subject: Re: Overriding methods in inherited classes On Fri, 31 Jan 2003, Travis Whitton wrote: > require 'cgi' > class SCGI < CGI > module QueryExtension > def [](*args) > if @params[*args] > return @params[*args][0] > end > end > end include QueryExtension > end try that. -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================