The Well-Grounded Rubyist Front Cover

The Well-Grounded Rubyist

  • Length: 520 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2009-06-04
  • ISBN-10: 1933988657
  • ISBN-13: 9781933988658
  • Sales Rank: #1191661 (See Top 100 Books)
Description

The Well-Grounded Rubyist takes you from interested novice to proficient practitioner. It’s a beautifully written tutorial that begins with the basic steps to get your first 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 explanations will give you immediate confidence as you build your Ruby programming skills.

The Well-Grounded Rubyist is a thoroughly revised and updated edition of the best-selling Ruby for Rails. In this new book, expert author David A. Black moves beyond Rails and presents a broader view of Ruby. It covers Ruby 1.9, and keeps the same sharp focus and clear writing that made Ruby for Rails stand out.

Starting with the basics, The Well-Grounded Rubyist explains Ruby objects and their interactions from the ground up. In the middle chapters, the book turns to an examination of Ruby’s built-in, core classes, showing the reader how to manipulate strings, numbers, arrays, ranges, hashes, sets, and more. Regular expressions get attention, as do file and other I/O operations.

Along the way, the reader is introduced to numerous tools included in the standard Ruby distribution–tools like the task manager Rake and the interactive Ruby console-based interpreter Irb–that facilitate Ruby development and make it an integrated and pleasant experience.

The book encompasses advanced topics, like the design of Ruby’s class and module system, and the use of Ruby threads, taking even the new Rubyist deep into the language and giving every reader the foundations necessary to use, explore, and enjoy this unusually popular and versatile language.

It’s no wonder one reader commented: “The technical depth is just right to not distract beginners, yet detailed enough for more advanced readers.”

Table of Contents

Part 1 Ruby foundations
Chapter 1 Bootstrapping your Ruby literacy
Chapter 2 Objects, methods, and local variables
Chpater 3 Organizing objects with classes
Chapter 4 Modules and program organization
Chapter 5 The default object (self), scope, and visibility
Chapter 6 Control-flow techniques

Part 2 Built-in classes and modules
Chapter 7 Built-in essentials
Chpater 8 Strings, symbols, and other scalar objects
Chapter 9 Collection and container objects
Chapter 10 Collections central: Enumerable and Enumerator
Chapter 11 Regular expressions and regexp-based string operations
Chapter 12 File, I/O, and system operations

Part 3 Ruby dynamics
Chapter 13 Object individuation
Chapter 14 Callable and runnable objects
Chapter 15 Callbacks, hooks, and runtime introspection

To access the link, solve the captcha.