The fastest, easiest way to learn to program Ruby. This book will teach you to program the Ruby language from the ground up. You will learn about Object Orientation, classes, methods, modules and mixins, file operations and exception-handling. Whether you are a new programmer or an experienced programmer who wants to learn the Ruby language quickly and easily, this is the book for you!
This book explains…
- Getting Started with Ruby
- Object Orientation
- Classes & Superclasses
- Modules & Mixins
- Methods & Arguments
- Class & Instance Variables
- Operators & Tests
- Arrays & Hashes
- File Operations
- Exception-handling
- …and much more
Table of Contents
Introduction
1 – Fundamentals of Ruby
2 – Constructing Objects
3 – Classes and Subclasses
4 – Methods, Attributes and Class Variables
5 – Arrays
6 – Hashes
7 – Loops
8 – Tests and Conditions
9 – Modules
10 – Files and Exceptions
Appendix