The Ruby Way takes a “how-to” approach to Ruby programming with the bulk of the material consisting of more than 400 examples arranged by topic. Each example answers the question “How do I do this in Ruby?” Working along with the author, readers are presented with the task description and a discussion of the technical constraints. This is followed by a step-by-step presentation of one good solution. Along the way, the author provides detailed commentary and explanations to aid understanding.
Table of Contents:
- 1 Ruby in Review
- 2 Working with Strings
- 3 Working with Regular Expressions
- 4 Internationalization in Ruby
- 5 Performing Numerical Calculations
- 6 Symbols and Ranges
- 7 Working with Times and Dates
- 8 Arrays, Hashes, and Other Enumerables
- 9 More Advanced Data Structures
- 10 I/O and Data Storage
- 11 OOP and Dynamic Features in Ruby
- 12 Graphical Interfaces for Ruby
- 13 Threads and Concurrency
- 14 Scripting and System Administration
- 15 Ruby and Data Formats
- 16 Testing and Debugging
- 17 Packaging and Distributing Code
- 18 Network Programming
- 19 Ruby and Web Applications
- 20 Distributed Ruby
- 21 Ruby Development Tools
- 22 The Ruby Community
- Index
About the Author :
Hal Fulton first began using Ruby in 1999. In 2001, he started work on The Ruby Way, which was the second Ruby book published in English. Fulton was an attendee at the very first Ruby conference in 2001 and has presented at numerous other Ruby conferences on three continents, including the first European Ruby Conference in 2003. He holds two degrees in computer science from the University of Mississippi and taught computer science for four years. He has worked for more than 25 years with various forms of UNIX and Linux. He is now at Simpli.fi in Fort Worth, Texas, where he works primarily in Ruby.
André Arko first encountered Ruby as a student in 2004, and reading the first edition of this book helped him decide to pursue a career as a Ruby programmer. He is team lead of Bundler, the Ruby dependency manager, and has created or contributes to dozens of other open source projects. He works at Cloud City Development as a consultant providing team training and expertise on Ruby and Rails as well as developing web applications.
André enjoys sharing hard-won knowledge and experience with other developers, and has spoken at over a dozen Ruby conferences on four continents. He is a regular volunteer at RailsBridge and RailsGirls programming outreach events, and works to increase diversity and inclusiveness in both the Ruby community and technology as a field. He lives in San Francisco, California.
Review :
Praise for The Ruby Way, Third Edition
“Sticking to its tried and tested formula of cutting right to the techniques the modern day Rubyist needs to know, the latest edition of The Ruby Way keeps its strong reputation going for the latest generation of the Ruby language.”
Peter Cooper
Editor of Ruby Weekly
“The authors’ excellent work and meticulous attention to detail continues in this latest update; this book remains an outstanding reference for the beginning Ruby programmer– as well as the seasoned developer who needs a quick refresh on Ruby. Highly recommended for anyone interested in Ruby programming.”
Kelvin Meeks
Enterprise Architect
Praise for Previous Editions of The Ruby Way
“Among other things, this book excels at explaining metaprogramming, one of the most interesting aspects of Ruby. Many of the early ideas for Rails were inspired by the first edition, especially what is now Chapter 11. It puts you on a rollercoaster ride between ‘How could I use this?’ and ‘This is so cool!’ Once you get on that rollercoaster, there’s no turning back.”
David Heinemeier Hansson
Creator of Ruby on Rails,
Founder at Basecamp
“The appearance of the second edition of this classic book is an exciting event for Rubyists–and for lovers of superb technical writing in general. Hal Fulton brings a lively erudition and an engaging, lucid style to bear on a thorough and meticulously exact exposition of Ruby. You palpably feel the presence of a teacher who knows a tremendous amount and really wants to help you know it too.”
David Alan Black
Author of The Well-Grounded Rubyist
“This is an excellent resource for gaining insight into how and why Ruby works. Assomeone who has worked with Ruby for several years, I still found it full of new tricks and techniques. It’s accessible both as a straight read and as a reference that one can dip into and learn something new.”
Chet Hendrickson
Agile software pioneer
“Ruby’s a wonderful language–but sometimes you just want to get something done. Hal’s book gives you the solution and teaches a good bit about why that solution is good Ruby.”
Martin Fowler
Chief Scientist, ThoughtWorks
Author of Patterns of Enterprise Application Architecture