Documentation!

is there any guide on navigating thru ruby docs.

is there a search???

example:

if a newbie wanted to find the compare operators what would the steps
be or is it norm to google for 2 hours to find the simplest of things.

is there any guide on navigating thru ruby docs.

is there a search???

I mostly rely on http://www.gotapi.com/, which has a nice search
function and includes both Rubys and Rails’ API (and HTML, and …);
other than that I can only whole-heartedly recommend the pickaxe book
(http://pragprog.com/titles/ruby3) as a PDF.

On Apr 20, 9:53 pm, Jan-Christian F. [email protected]
wrote:

is there any guide on navigating thru ruby docs.

is there a search???

I mostly rely onhttp://www.gotapi.com/, which has a nice search
function and includes both Rubys and Rails’ API (and HTML, and …);
other than that I can only whole-heartedly recommend the pickaxe book
(http://pragprog.com/titles/ruby3) as a PDF.

I would too, especially to get yourself off the ground enough to
become self-sufficient. It’s always going to be hard to search for
<=>, especially if you don’t know it exists. API documentation is fine
once you’ve got off the ground, but by its very nature is going to be
skimpy on the conceptual stuff.

Fred

On Apr 21, 12:08 am, Frederick C. [email protected]
wrote:

(http://pragprog.com/titles/ruby3) as a PDF.

I would too, especially to get yourself off the ground enough to
become self-sufficient. It’s always going to be hard to search for
<=>, especially if you don’t know it exists. API documentation is fine
once you’ve got off the ground, but by its very nature is going to be
skimpy on the conceptual stuff.

Fred

Try the ri-command.
E.g. “ri ‘<=>’”, “ri Fixnum#‘<=>’”, etc.

fastri-gem is also recommendable.


A.H.