Does anyone how to get all the methods that are defined or overwrited in current class rather than base class? e.g.
class MyBase
def Test
end
end
class MyDerived
def Test1
end
end
When I call MyDerived.methods, i got a lot of methods, but I only want to get 'Test1' because it is its own method, is it possible? thanks.