Summary
The Well-Grounded Rubyist, Third Edition is a beautifully written tutorial that begins with your first Ruby program and takes you all the way to sophisticated topics like reflection, threading, and recursion. Ruby masters David A. Black and Joe Leo distill their years of knowledge for you, concentrating on the language and its uses so you can use Ruby in any way you choose. Updated for Ruby 2.5.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Designed for developer productivity, Ruby is an easy-to-learn dynamic language perfect for creating virtually any kind of software. Its famously friendly development community, countless libraries, and amazing tools, like the Rails framework, have established it as the language of choice for high-profile companies, including GitHub, SlideShare, and Shopify. The future is bright for the well-grounded Rubyist!
About the Book
In The Well-Grounded Rubyist, Third Edition, expert authors David A. Black and Joseph Leo III deliver Ruby mastery in an easy-to-read, casual style. You’ll lock in core principles as you write your first Ruby programs. Then, you’ll progressively build up to topics like reflection, threading, and recursion, cementing your knowledge with high-value exercises to practice your skills along the way.
What’s Inside
Basic Ruby syntaxRunning Ruby extensionsFP concepts like currying, side-effect-free code, and recursionRuby 2.5 updates
About the Reader
For readers with beginner-level programming skills, as well as more advanced programmers interested in Ruby and experienced Rubyists looking to review the foundations of their practice.
About the Authors
David A. Black is an internationally known Ruby developer and author, and a cofounder of Ruby Central. Ruby teacher and advocate Joseph Leo III is the founder of Def Method and lead organizer of the Gotham Ruby Conference.
Table of Contents
PART 1 RUBY FOUNDATIONSBootstrapping your Ruby literacyObjects, methods, and local variablesOrganizing objects with classesModules and program organizationThe default object (self), scope, and visibilityControl-flow techniques
PART 2 BUILT-IN CLASSES AND MODULESBuilt-in essentialsStrings, symbols, and other scalar objectsCollection and container objectsCollections central: Enumerable and EnumeratorRegular expressions and regexp-based string operationsFile and I/O operations
PART 3 RUBY DYNAMICSObject individuationCallable and runnable objectsCallbacks, hooks, and runtime introspectionRuby and functional programming
Publisher : Manning
Publication date : March 15, 2019
Edition : 3rd
Language : English
Print length : 584 pages
ISBN-10 : 1617295213
ISBN-13 : 978-1617295218
Item Weight : 2.1 pounds
Dimensions : 7.38 x 1.2 x 9.25 inches
Best Sellers Rank: #462,141 in Books (See Top 100 in Books) #7 in Ruby Programming #92 in Object-Oriented Design #385 in Software Development (Books)
Customer Reviews: 4.6 4.6 out of 5 stars (98) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
Show all
Most Helpful
Highest Rating
Lowest Rating


Jeremy Strange –
Good book
This book does do a good job of presenting information about Ruby. I am a novice learner and I was able to keep up.
Leam Hall –
Excellent first or second Ruby book!
The first two editions of this book had gotten rave reviews so when I wanted to re-learn Ruby I chose the third edition. I am very pleased with the choice! The Well Grounded Rubyist explains a lot of useful Ruby detail and usage in an engaging and fun way. Object Orientation is key to Ruby and the first few chapters bring your right in to it. Kudos to the authors!
Marcos Scaianschi –
A very good book for learning Ruby.
Very good book about the Ruby programming language. It’s deep on every aspect of the language. Totally recommended to learn the language or as a reference book.
Gabriel –
Excellent
Excellent book for anybody interested in first learning or even wanting to go in depth in the Ruby language
Ryan Mease –
Who is this book for?
This is a great book–great tone, great selection of topics, easy to ready, thoughtful examples. I have some objections to this genre of book, but I can’t fault the authors for producing an excellent example of the genre.Here’s my beef–it’s hard to read this book as a beginning. It’s also hard to read it as someone with a few years of experience in Ruby. There were a few delightfully rich pieces of new information in this book, and a few other areas where I learned more about something that I already knew. However, there were also a lot of boring “string.reverse will reverse a string” sort of examples that felt like a waste of my time.I have seen a few textbooks do a better job of highlighting which areas are best for beginnings, and which are best for more experienced readers. I wish this book had better organized its content in that way.From a content perspective, I think my only criticism is the lack of information on structures. There’s one spot in the book where they foreshadow that they will talk more about structures, but then they never get around to it, as far as I can recall.
Austen Ito –
Something for everyone!
One of the things I love about re-visiting language books is that no matter how long you’ve been programming in a language, there is always something more to learn. In this book lies the opportunity to dive deeper, grok something new, or just see what you’ve missed. I thoroughly enjoyed reading the Well-Grounded Rubyist. I loved the writing style, the format, and the insightful examples. Reading this book was a great tour of the things I love about Ruby like it’s friendliness and it’s object model. The Well-Grounded Rubyist goes into lots of wonderful and interesting language quirks. If you’re just getting started with Ruby this book is for you. If you’ve been programming Ruby for years, this book is also for you! Hats off to everyone involved with this book. The Ruby community continues to be vibrant because of people like you.
TTS –
Exceptional first book for seasoned programmers
I’m an experienced programmer starting my first job as a Rails developer. A friend lent me this book and now, a month into working with Rails, I wish this was the first Ruby book I had picked up.The bootstrapping section describes the language design at a level of detail that an experienced programmer like me wants. The endless tutorials on line wasted so much time. This is infinitely better. It should be your first book if starting Ruby with a strong programming background
F. Cantelmi –
Excellent Ruby refresher
The authors focus on teaching you how to write great Ruby. I learned Ruby 1.7 many years ago and still use Ruby periodically. Their book brought me up to speed on more modern approaches that Ruby supports. Highly recommended.
Rene S. –
This book builds a solid foundation for any aspiring ruby developer.It contains no quick and useless tutorials, but introduces the main ideas in a comprehensive way.The author does not assume any ruby knowledge from the reader at all, but any basic programming knowledge certainly helps to read the book efficiently.
Benedikt M. –
Generally a good reference book, but it seems to be missing some information. Chapters are divided into different sections, which themselves have different section, which is generally a good breakdown, as it gives you an easy overview of what is covered. However some sections say they will cover a topic which they actually don’t. For example section 9.3.2 mentions it will cover removing items from a hash, but it only exmplains how to add and retrieve items, not how to remove them. This is the only example I’ve seen so far, but it’s a pretty big oversight and dissapointing as I was hoping to use this as a comprehensive reference book for Ruby.
Amazon カスタマー –
Book in pristine condition.
LordSetoSaitama –
This book is fantastic and very in-depth. If you’re attempting to learn ruby—whether as a beginner or experienced programming coming from a different language—this book is an invaluable resource to solidifying your knowledge and grasping a deep understanding of the inner workings of the Ruby oop language.I am a relative newbie to the field of computer science and programming; I have attempted the journey of learning at a few points in my life but have never managed to continue and maintain what I’ve learned. For the past two months I have been making consistent progress and improvements, putting in what time I can between full-time work and family/girlfriend obligations. The Well-Grounded Rubyist has been an awesome resource to utilize since I received it. I’m currently in the midst of chapter 5 and have been working with the book for almost 3 weeks now. As a beginner, I’ve also been using Head First Ruby and I began a course on Udemy for Ruby on Rails. I’m the kind of person who both loves learning from a book and needs multiple resources to learn from at the same time to augment my studies. Having a few core sources to study from offers me a great range of perspectives and a coalescence of knowledge related to that specific field of study (which in this case is learning Ruby!).For whatever reason you, who may be now reading this, has decided to learn Ruby know this: this book is incredible! If you like learning from books than there probably isn’t any better bang for your buck for getting a truly comprehensive, detailed look at the structure of Ruby. If you are a complete beginner, as I basically was not too long ago, then good luck to you. This book can be tackled by a beginner, but also check out free resources online such as The Odin Project, or maybe look up some courses on Udemy or Treehouse. There are many other great beginning books to look at, such as Head First Ruby but this one will really go in-depth on that study. Good luck to you, good luck to me! And thank you David A. Black and Joseph Leo III for this awesome book!!I will update this review in a couple months with a progress report and any further insights I may have.Edit: My progress report 4 years later is that I gave up on learning the Ruby language and instead focused on JavaScript.
Happy customer –
I considered myself intermediate in Ruby so I thought the beginning of the book covering the basics would be boring but not at all, I still learned many useful things and kept wanting to read more.