Q. What is the purpose of the attr_reader method in Ruby classes?
β
Correct Answer: (A)
To define getter methods for class attributes
You must be Logged in to update hint/solution