This book does for Ruby what Kernighan & Ritchie's "The C Programming Language" did for C. It provides a concise, accessible introduction to the Ruby programming language.
Starting out with a tour of Ruby, you are then taken on a deeper dive into chapters on "Structure and Execution", "Datatypes and Objects", "Expressions and Operators", and "Statements and Control Structures". Some of the real power of Ruby is revealed in chapters on "Methods, Procs, Lambdas, and Closures", "Classes and Modules", and "Reflection and Metaprogramming".
The book closes with chapters on "The Ruby Platform" and "The Ruby Environment". The chapter on the Ruby Platform is like a condensed API guide to Ruby's core library. The chapter on the Ruby Environment will help you navigate through the Ruby interpreter's command-line arguments and environment variables as well as a grab-bag of extra Ruby topics that were not covered earlier in the book.
The book is well organized and easy to read. Each chapter is peppered with code samples. If you are serious about learning Ruby, get this book! It sits on my bookshelf, next to a copy of the Pickaxe book and The Ruby Way. Bonus: each chapter of the book starts with a work of art by why the lucky stiff!
|