A

Admin • 828.03K Points
Coach

Q. How do you find the number of seconds since the Unix epoch for a Time object in Ruby?

  • (A) Use the epoch_seconds method
  • (B) Use the timestamp method
  • (C) Use the seconds_since_epoch method
  • (D) Use the to_i method
  • Correct Answer - Option(D)
  • Views: 6
  • 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.