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: 30,955 of 186,974
Downloads: 41,112

Daily

Ranking: 13,342 of 186,960
Downloads: 55

Depended by

RankDownloadsName
115,4425,909sql_cmd

Depends on

RankDownloadsName
12,940,750,811bundler
71,183,313,502activesupport
71,183,313,502activesupport
101,140,919,622rake
27914,604,077rspec
57597,190,900rubocop
99417,664,045simplecov
173253,456,252pry-byebug
197230,474,724rspec_junit_formatter
224193,562,510yard
315137,433,299guard
385115,496,776guard-rspec
411108,902,859redcarpet
75666,928,218fuubar
1,36228,943,158rubocop-rake
2,07511,157,726terminal-notifier-guard
7,109579,255guard-yard
17,78993,865rspec_junit

Owners

#GravatarHandle
1iconaks