M

Mr. Dubey • 52.30K Points
Coach

Q. What is the purpose of the Object#tap method in Ruby?

  • (A) It evaluates a block of code within the context of the object
  • (B) It allows you to perform operations on an object and return the object itself
  • (C) It raises an exception if the object is nil
  • (D) It evaluates a block of code within the context of the object

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.