Why use Ruby’s attr_accessor, attr_reader and attr_writer? Ruby has this handy and convenient way to share instance variables by using keys like attr_accessor :var attr_reader :var attr_writer :var Why would I choose attr_reader or attr_writer if... May 2, 2022 0 Comments