title: How do I see where in the Class Hierarchy a Method was defined and Overridden in Ruby?
body: <p>Is there a way to know whether or not a method has been overridden by a subclass programmatically?  Something that works like this:</p>
  
  <pre><code>class BaseModel
    def create
      puts "superclass"
    end
  end
  
  class SomeModel &lt; BaseModel
    def create
      puts "subclass"
    end
  end
  
  puts SomeModel.overridden_instance_methods #=&gt; [:create]
  </code></pre>
  
  <p>Any ideas?</p>