Because Object.methods returns an array, you can grep that just like in this tip about grepping anything from your enumerables.
For example, if you are looking for a particular method of an object, you can easily narrow down the results like this:
Object.methods.grep /inspect/ => ["inspect", "pretty_inspect", "pretty_print_inspect"]
This tip was submitted Adam Rogers.
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.