A Admin • 828.03K Points Coach Q. What is the significance of the attr_writer method in Ruby classes? (A) Defines only reader methods for class attributes (B) Defines only writer methods for class attributes (C) Defines constructor methods for class attributes (D) Defines only reader methods for class attributes Correct Answer - Option(B) Views: 10 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.