A guide to working with the object-oriented programming language, Ruby, which allows for programming without extra syntax or code. Shows how to easily mine the Ruby language, teaching the basics, plus how to write large programs, how to extend Ruby using C code, and more.
Book Description
This book is a tutorial and reference for the Ruby programming language. Use Ruby, and you’ll write better code, be more productive, and enjoy programming more.
These are bold claims, but we think that after reading this book you’ll agree with them. And we have the experience to back up this belief.
Table of Contents
- Getting Started
- Numbers
- Letters
- Variables and Assignment
- Mixing It Up
- More About Methods
- Flow Control
- Arrays and Iterators
- Writing Your Own Methods
- Classes
- Blocks and Procs