From: Stefano Crocco Date: 2008-05-22T21:49:25+09:00 Subject: Re: Is rdoc (http://www.ruby-doc.org/core/) complete? On Thursday 22 May 2008, Victor Reyes wrote: > Hello Team, > > Although I have over a dozen Ruby books (and still do not master the > language) I try to make frequent use of the online documentation, rdoc, > located at: http://www.ruby-doc.org/core/. > However, I was searching the *rdoc* for a method I new existed by reading > "*The Ruby Way* - Second Edition By: Hal" but could not find it. The method > was * find_all* which is part of *Array* class. I then looked a bit further > and noticed that a sizable number of methods for the same class are not > found at rdoc. > > Since carrying books is a bit difficult a time, is there a definitive site, > book, or whatever where I can find all the docs for a given release of > Ruby? > > Thank you > > Victor find_all is not a method of the Array class, but an instance method of the Enumerable module, which is mixed-in in class Array. If you look at the online documentation for Array, you'll see that there's a section called "Included Modules", which contains Enumerable. Clicking on it, you'll be directed to the documentation for the Enumerable module, knowing that all its instance methods are also instance methods of Array. Stefano