A

Admin • 833K Points
Coach

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

  • (A) It invokes the specified method on the object
  • (B) It checks if the object responds to the specified method
  • (C) It defines a new method on the object
  • (D) It returns a Method object representing the specified method
  • Correct Answer - Option(D)
  • Views: 29
  • 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.