Copyright
Brief Table of Contents
Table of Contents
Praise for the Second Edition
Preface
Acknowledgments
About this book
About the authors
About the cover illustration
1. Ruby foundations
Chapter 1. Bootstrapping your Ruby literacy
1.1. Basic Ruby language literacy
1.1.1. Installing Ruby and using a text editor
1.1.2. A Ruby syntax survival kit
1.1.3. The variety of Ruby identifiers
1.1.4. Method calls, messages, and Ruby objects
1.1.5. Writing and saving a simple program
1.1.6. Feeding the program to Ruby
1.1.7. Keyboard and file I/O
1.2. Anatomy of the Ruby installation
1.2.1. The Ruby standard library subdirectory (RbConfig::CONFIG[“rubylibdir”])
1.2.2. The C extensions directory (RbConfig::CONFIG[“archdir”])
1.2.3. The site_ruby (RbConfig::CONFIG[“sitedir”]) and vendor_ruby (RbConfig::CONFIG[“vendordir”]) directories
1.2.4. Standard Ruby gems and the gems directory
1.3. Ruby extensions and programming libraries