Q. What is the purpose of the attr_accessor method in Ruby classes?
β
Correct Answer: (A)
To create getter and setter methods for instance variables
You must be Logged in to update hint/solution