Zombies
Zombies

Reputation: 25872

Standard Library Reference for Ruby

I need a good reference for how to use standard Libraries in Ruby. Current libraries do not describe or give examples like say Java's. Yet this is where examples are much more needed (in Ruby), because I am not familiar with what the called method will yield! I am left with having to look at the source files every time, which seems inefficient. What is a good standard library reference... or am I just not understanding blocks yet?

Upvotes: 3

Views: 580

Answers (5)

dylanfm
dylanfm

Reputation: 6345

There is the Ruby Standard Library documentation and sites like apidock. The Pickaxe book has a great reference towards the end. There's even a free version online, but it's quite out of date; to find the reference there, click Standard Library in the top-left frame.

Upvotes: 3

pierrotlefou
pierrotlefou

Reputation: 40721

I am sorry , but again, i have to recommend ruby cookbook. (Already two times today)

Upvotes: 0

Ben Marini
Ben Marini

Reputation: 2608

Understanding blocks is pretty important, especially if you want to understand the Enumerable module. ruby-doc.org is usually all I need, but if I need a little more explanation I grab the PickAxe. You need the PickAxe, no question.

Upvotes: 0

pgmura
pgmura

Reputation: 716

Try GotAPI You'll be able to find the Ruby standard documentation and a whole lot of api docs there

Upvotes: 1

Sam Post
Sam Post

Reputation: 3821

I find myself bouncing around between the ruby core API on ruby-doc.org, googling for answers on random blogs, and spending time testing ideas in the interactive interpreter (irb). I haven't seen any other core reference documentation that I liked, but I do have a copy of The Ruby Way and its pretty decent.

Betweeen these four sources I can almost always find out how to solve the problem I'm working on.

Best of luck - ruby is fun, frustrating, and powerful.

Upvotes: 4

Related Questions