Developers discovering Ruby quickly learn that this elegant object-oriented language is a powerful alternative to traditional static languages like Java or C++. It runs in most operating environments and can handle virtually any programming task you throw at it. Ruby code is clean and clear. Best of all, Ruby is dynamic, which means that it's designed to react at runtime to changes in an application's environment or requirements. And with the new language features in the long-awaited Ruby 2, Ruby has truly come into its own.
The Well-Grounded Rubyist, Second Edition addresses both newcomers to Ruby and those Ruby programmers who want to deepen their understanding of the language. It begins with the basic steps to getting a Ruby program up and running and goes on to explore sophisticated topics like callable objects, reflection, and threading. Whether the topic is simple or tough, the book's easy-to-follow examples and expert author David A. Black's lucid explanations give you immediate confidence as you build your Ruby programming skills.
This totally revised second edition includes coverage of features that are new in Ruby 2, as well as expanded and updated coverage of aspects of the language that have changed. New topics include keyword arguments, lazy enumerators, and Module#prepend. Updated areas include the new regular expression engine, program file encoding, and changes to the behavior of core classes and methods.