A Admin • 833K Points Coach Q. What is the purpose of the `extend` keyword in Ruby classes? (A) Adds methods from a module as class methods (B) Adds methods from a module as instance methods (C) Adds methods from a superclass (D) Adds methods to the superclass Correct Answer - Option(A) Views: 15 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.