From: 7stud -- Date: 2011-05-13T03:21:58+09:00 Subject: Re: where does the pure method defined when starting irb puts RUBY_VERSION puts self #=>main puts self.class #=>Object def hello end puts Object.private_methods.grep(/^h/) #=>hello puts self.singleton_class.instance_methods.include?(:hello) #=>false -- Posted via http://www.ruby-forum.com/.