A

Admin • 833K Points
Coach

Q. What does the ago method do for a Time object in Ruby?

  • (A) Returns a new Time object representing the time in the future
  • (B) Returns a new Time object representing the current time
  • (C) Adds a specified duration to the Time object
  • (D) Subtracts a specified duration from the Time object
  • Correct Answer - Option(D)
  • Views: 10
  • 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.