------art_10845_7184411.1209435806858
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

You can try methods instead of dynamic variables, but the best option is the
one above with hash.

self.class.send(:define_method, type){Object.const_get(type.capitalize);}
>

-- 
Bernardo Rufino

------art_10845_7184411.1209435806858--