A

Admin • 831.35K Points
Coach

Q. What is the purpose of the Time.now method in Ruby?

  • (A) Returns the current time as the number of milliseconds since the Unix epoch
  • (B) Returns the current time as the number of seconds since the Unix epoch
  • (C) Returns the current time as a string
  • (D) Returns the current time as a Time object
  • Correct Answer - Option(D)
  • Views: 14
  • 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.