TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'timeywimey'
And then execute:
$ bundle
Or install it yourself as:
$ gem install timeywimey
require 'timeywimey'
from_time = Time.now - 3.days - 4.hours
Tw.time_ago_in_words from_time
#=> "3 days"
- Fork it ( https://github.com/onetwopunch/timeywimey/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request