Rick Denatale wrote: > def foo > # This method will be a singleton method of the top-level object > # It's installed in the method-hash of the singleton-class of the > top level object. > end But this is not true (because of top-level magic, about which I just posted a lament). The method foo is installed as if in "class Object ... end": def foo ; "foo" ; end self.singleton_methods.include? "foo" -> false Object.methods.include? "foo" -> true (in irb) (All of which contributes to my confusion about "instance_eval", alas.) -- Posted via http://www.ruby-forum.com/.