From: Bret Pettichord Date: 2005-09-08T12:55:18+09:00 Subject: Re: Class constant methods At 12:59 AM 9/7/2005, Joel VanderWerf wrote: > class TextField < Element > SUPPORTED_TYPES = ["text", "password", "textarea"] > def supported_types > self.class::SUPPORTED_TYPES > end > end Thanks, this was what i was looking for. _____________________ Bret Pettichord www.pettichord.com