It was sometime in 2007 that I came across ruby language. After seeing a couple of ruby code snippets, I was addicted to it. There is something inherently in the language which makes a lot of programmers happy. I wanted to share this happiness and hence this book.
I will start this book with a disclaimer: This book is written for practising programmers who are familiar with at least one language and is also aware of object oriented concepts. This assumption keeps the book compact and at the same time provides a good introduction to programmers. If you are new to programming, don’t read further. You need to start with a book like Peter Cooper’s “Beginning Ruby – From Novice to Professional”. But if you think that book is too verbose, you are at the right place!
This book is organized in 3 sections. The first section covers ruby language fundamentals. The second section provides a quick roundup of ruby’s standard library. In the last section I will cover topics which are relevant to ruby projects such file organization, testing, benchmarking etc.
This book is based on Ruby 1.8. Ruby 1.9 (an experimental version) is already available for download. I will briefly cover 1.9 specific changes wherever it is relevant. A second edition of this book is planned after Ruby 2.0 production release.