From: Michael Trier Date: 2006-04-04T01:55:04+09:00 Subject: Re: Dynamic code generation Take with a grain of salt, because I don't really understand this stuff. But, couldn't you do: irb(main):003:0> t = Time.at(0) => Wed Dec 31 19:00:00 Eastern Standard Time 1969 irb(main):004:0> t => Wed Dec 31 19:00:00 Eastern Standard Time 1969 irb(main):005:0> t.class => Time irb(main):006:0> t.class.now => Mon Apr 03 12:53:14 Eastern Standard Time 2006 irb(main):007:0> I'm calling the class level method of the instance variable. Is that what you're looking for? Michael