Q. What is the purpose of the attr_accessor method in Ruby classes?
β
Correct Answer: (C)
To define both reader and writer methods for class attributes
You must be Logged in to update hint/solution