“The Book Of Ruby” is a comprehensive free tutorial to the Ruby language. It contains 425 pages in 20 chapters. It is provided in the form of a PDF document in which each chapter is accompanied by ready-to-run source code for all the examples.
Book Description
There is also an Introduction which explains how to use the source code in Ruby In Steel or any other editor/IDE of your choice plus appendices and an index. The Book Of Ruby concentrates principally on version 1.8.x of the Ruby lan-guage. While a version 1.9 of Ruby has been released, Ruby 1.8 is still far more widely used. Ruby 1.9 may be regarded as a stepping stone towards Ruby 2.0. In most respects the syntax of Ruby 1.9 is close to that of Ruby 1.8 but you should be aware that there are some differences and complete compatibility is not guaranteed.
Table of Contents
- Strings, Numbers, Classes and Objects
- Class Hierarchies, Attributes and Class Variables
- Strings and Ranges
- Arrays and Hashes
- Loops and Iterators
- Conditional Statements
- Methods
- Passing Arguments and Returning Values
- Exception Handling
- Blocks, Procs and Lambdas
- Symbols
- Modules and Mixins
- Files and IO
- YAML
- Marshal
- Regular Expressions
- Threads
- Debugging and Testing
- Ruby On Rails
- Dynamic Programming