Question about wrapping instance vars in attr_reader

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • SimpleCov

    Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

  • Technically you could measure the usage with MethodCoverage. But that is future talk for simplecov. So in theory we could visualize unused instance variables

  • ruby

    The Ruby Programming Language

  • And a fun fact for Ruby is that it provides special method types for attribute accessor methods https://github.com/ruby/ruby/blob/48b94b791997881929c739c64f95ac30f3fd0bb9/method.h#L113, the goal is to make ruby programs run faster (src: Pat Shaughnessy's Ruby under a microscope)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Sequel

    Sequel: The Database Toolkit for Ruby

  • Not always! Some guys have a lot of discipline; take jeremy for example and sequel. https://github.com/jeremyevans/sequel

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