title: How do I inspect the methods of a Ruby object?
body: <p>I am wondering if there is a Ruby method call that shows only the methods defined by the Ruby object it's called from, as opposed to all the methods defined by its ancestor classes, which is what <code>methods</code> seems to do.</p>