2nd Edition. — Manning Publications, 2014. — 536 p. — ISBN: 1617291692.
The Well-Grounded Rubyist, Second Edition is a beautifully written tutorial that begins with your first Ruby program and goes on to explore sophisticated topics like callable objects, reflection, and threading. The book concentrates on the language, preparing you to use Ruby in any way you choose. This second edition includes coverage of new in Ruby 2.1 features such as keyword arguments, lazy enumerators, and Module#prepend, along with updated information on new and changed core classes and methods.
What's Inside:Clear explanations of Ruby concepts;
Numerous simple examples;
Updated for Ruby 2.1;
Prepares you to use Ruby anywhere for any purpose.
Ruby FoundationsBootstrapping your Ruby literacy
Objects, methods, and local variables
Organizing objects with classes
Modules and program organization
The default object (self), scope, and visibility
Control-flow techniques
Built-in Classes and ModulesBuilt-in essentials
Strings, symbols, and other scalar objects
Collection and container objects
Collections central: Enumerable and Enumerator
Regular expressions and regexp-based string operations
File and I/O operations
Ruby DynamicsObject individuation
Callable and runnable objects
Callbacks, hooks, and runtime introspection
The Well-Grounded Rubyist, Second Edition addresses both newcomers to Ruby as well as Ruby programmers who want to deepen their understanding of the language.