Michael Gorsuch wrote:

> What is the best way to get a list of instance methods for ClassB, but 
> that
> does not contain the parent class's methods?
> 
> ClassB.instance_methods is returning all of them.  I just want to see
> 'my_new_method'.

ClassB.instance_methods - ClassB.superclass.instance_methods

-- 
Posted via http://www.ruby-forum.com/.