Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

  • David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.

  • Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.

  • why the lucky stiff, artist and Ruby programmer extraordinaire.

This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules.

The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.

The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

Subscriber Reviews

Average Rating: 4.666666666666667 out of 5 rating Based on 15 Ratings

"Great book" - by Ram on 01-JAN-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I was a beginner to ruby and found this book very good to learn the language.
Report as Inappropriate

"Not the most suitable book for those new to Ruby" - by MarkH on 27-JAN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I wouldn't recommend this book for those new to Ruby. It goes into the language in depth which will be slow moving for those that want to get up to speed quickly. It's probably more suited to those already familiar with the language and want more in depth information.
Report as Inappropriate

"(null)" - by (null) on 02-JAN-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The best one!
Report as Inappropriate

"The Ruby Programming Language" - by Anonymous on 13-MAY-2011
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Excellent book. Nice for those who are looking for a first publication to understand in depth the Ruby programming language. Not many examples, but nice explanations of Ruby structure and functionning. I would read it first, and then go on with Ruby cookbook to develop the practical aspects.
Report as Inappropriate

"The Ruby Programming Language" - by Jay on 04-JUN-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Detailed, insight full. Suitable for people who really want to know the language.
Report as Inappropriate

Table of Contents

 

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for The Ruby Programming Language

  • Catalog Page

Visit the errata page for The Ruby Programming Language

  • Errata

Download the supplemental electronic content for The Ruby Programming Language

  • Supplemental Content