M

Mr. Dubey • 100.28K Points
Coach

Q. What is the purpose of the extend keyword in Ruby?

  • (A) Initializes a new instance
  • (B) Adds methods from a module as class methods
  • (C) Calls a superclass method
  • (D) Initializes a new instance
  • Correct Answer - Option(B)
  • Views: 137
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics