Categories: None [Edit]

easy_time

https://rubygems.org/gems/easy_time
https://github.com/aks/easy_time
A class that wraps the Time class and makes it easy to work with most known time values, including various time strings, automatically converting them to Time values, and perform tolerant comparisons. Several time classes, and the String class, are extended with the ".easy_time" method to perform an auto-conversion. A tolerant comparison allows for times from differing systems to be compared, even when the systems are out of sync, using the relationship operators and methods like "newer?", "older?", "same?" and "between?". A tolerant comparison for equality is where the difference of two values is less than the tolerance value (1 minute by default). The tolerance can be configured, even set to zero. Finally, all of the Time class and instance methods are available on the EasyTime class and instances.

Total

Ranking: 29,762 of 189,540
Downloads: 45,390

Daily

Ranking: 16,249 of 189,515
Downloads: 13

Depended by

RankDownloadsName
107,4627,099sql_cmd

Depends on

RankDownloadsName
13,187,756,891bundler
71,277,368,398activesupport
71,277,368,398activesupport
91,235,853,183rake
29950,230,597rspec
56649,791,879rubocop
99444,141,204simplecov
181265,306,265pry-byebug
199244,249,070rspec_junit_formatter
226206,848,365yard
325143,609,808guard
391120,586,817guard-rspec
414116,826,415redcarpet
77468,835,289fuubar
1,28833,901,055rubocop-rake
2,13111,526,517terminal-notifier-guard
7,203605,879guard-yard
17,83598,677rspec_junit

Owners

#GravatarHandle
1iconaks