A Admin • 828.03K Points Coach Q. What does the attr_reader method do in Ruby? (A) Defines a reader method for instance variables (B) Defines a writer method for instance variables (C) Defines both reader and writer methods for instance variables (D) None of the above Correct Answer - Option(A) Views: 6 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.