Q. What is the purpose of the attr_accessor method in Ruby?
β
Correct Answer: (B)
It creates getter and setter methods for a class attribute
You must be Logged in to update hint/solution