Nick Brown wrote:
> I find it frustrating when using "ri" to look up documentation on a
> class, only to find the method I'm curious about is not listed.
> 
> As an example: String objects have many more methods than are explained
> in the documentation for String (example: String.grep). When you run
> "ri" on String.grep, you get "Nothing known about String.grep". This is
> apparently because the grep method was inherited from another class.

So use FastRI instead of RI. It knows to look in the ancestors.

Or do just "ri grep" and it will list the objects where that method is 
defined.
-- 
Posted via http://www.ruby-forum.com/.