What benefit do you get when everything is an Object in Ruby?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ruby

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • Pry

    A runtime developer console and IRB alternative with powerful introspection capabilities.

    One thing I haven't seen mentioned yet is discoverability. Once you understand the object model, not only do you get an idea of the basic API that everything in Ruby responds to, you can also use it to explore the object hierarchy. You can use a REPL like pry to go from knowing nothing about a library that you're using or debugging to knowing the relationships between the object, its parent classes, its descendants, and the methods it responds with. You can ascend the object model all the way to the main:Object and inspect everything along the way. It's nifty.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts