From: "Steve S." Date: 2013-08-02T07:51:04+09:00 Subject: public_methods on a class Hi is anyone able to to explain to me why :foo is in the array below? My understanding of the docs would suggest that calling public_methods(false) should only include methods defined on the class itself? >> class A >> def self.foo >> "FOO" >> end >> end >> class B < A >> end >> p B.public_methods(false) => [:foo, :allocate, :new, :superclass] (https://eval.in/40208) Thanks Steve -- Posted via http://www.ruby-forum.com/.