Q. What is the purpose of the `attr_accessor` method in Ruby?
β
Correct Answer: (A)
Defines both reader and writer methods for instance variables
You must be Logged in to update hint/solution