A

Admin • 828.03K Points
Coach

Q. In Ruby, what is the purpose of the Module#prepend method?

  • (A) It includes a module in the inheritance chain after the class itself
  • (B) It extends a module to add new functionality
  • (C) It creates a copy of the module and appends it to the end of the inheritance chain
  • (D) It includes a module in the inheritance chain before the class itself
  • Correct Answer - Option(D)
  • Views: 5
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.