Adds .ago()
Method to the Time
Class
Here is how you use it:
start = Time.now
# something long
puts "It took #{start.ago} to do it"
How to contribute
Read these guidelines. Make sure you build is green before you contribute your pull request. You will need to have Ruby 3.2+ and Bundler installed. Then:
bundle update
bundle exec rake
If it's clean and you don't see any error messages, submit your pull request.