The Ruby Programming Language
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:
- 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.
Table of Contents
Chapter 1. Introduction
Chapter 2. The Structure and Execution of Ruby Programs
Chapter 3. Datatypes and Objects
Chapter 4. Expressions and Operators
Chapter 5. Statements and Control Structures
Chapter 6. Methods, Procs, Lambdas, and Closures
Chapter 7. Classes and Modules
Chapter 8. Reflection and Metaprogramming
Chapter 9. The Ruby Platform
Chapter 10. The Ruby Environment
- Paperback: 448 pages
- Publisher: O’Reilly Media (February 2008)
- Language: English
- ISBN-10: 0596516177
- ISBN-13: 978-0596516178