From: Thomas Hurst Date: 2002-03-16T23:51:41+09:00 Subject: Re: camelCase and underscore_style * David Alan Black (dblack@candle.superlink.net) wrote: > I don't mind reading weirdMethodNames as long as I don't have to write > them :-) Well, for those who like weirdMethodNames, you can always add something like this: def method_missing(name, *args) name = name.id2name.gsub(/([A-Z])/,'_\1').downcase eval "name = :#{name}" send(name, *args) end and vice versa :) -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Main's Law: For every action there is an equal and opposite government program.