πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Subtracts a specified duration from the Time object

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
145
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate