title: One-liner to Count the Number of Methods I've defined in a Ruby Class?
body: <p>What's the simplest way I can list the methods defined at each level in the tree?</p>
  
  <pre><code>Admin &lt; User &lt; ActiveRecord::Base &lt; ...
  </code></pre>
  
  <p>...and be able to take those methods and say which we defined in which module.</p>