From: "Eustáquio 'TaQ' Rangel" Date: 2008-04-14T21:41:15+09:00 Subject: Re: Dynamically referring to a Class > At one point in my application I will be referencing the Class name > dynamically, I will have it in a String. So e.g. class = "Person". I > want to send the Person class the 'find' message (call Person.find). Maybe like: [taq@~]irb >> class Person; def self.say_hi; puts "hi"; end; end => nil >> s = "Person" => "Person" >> Object.const_get(s).say_hi hi => nil >> Object.const_get(s).send(:say_hi) hi => nil