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: 28,760 of 195,762
Downloads: 50,986

Daily

Ranking: 30,840 of 195,747
Downloads: 9

Depended by

RankDownloadsName
104,2778,020sql_cmd

Depends on

RankDownloadsName
13,629,697,366bundler
71,402,392,100activesupport
71,402,392,100activesupport
81,384,293,602rake
291,006,320,288rspec
57728,179,197rubocop
98489,786,530simplecov
189283,275,706pry-byebug
201267,542,052rspec_junit_formatter
229230,406,592yard
339152,869,058guard
397130,999,375redcarpet
410128,074,378guard-rspec
79072,060,718fuubar
1,14142,141,861rubocop-rake
2,17112,244,939terminal-notifier-guard
7,481648,936guard-yard
18,268103,228rspec_junit

Owners

#GravatarHandle
1iconaks