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,357 of 198,774
Downloads: 51,179

Daily

Ranking: 48,871 of 198,739
Downloads: 2

Depended by

RankDownloadsName
104,8828,187sql_cmd

Depends on

RankDownloadsName
13,972,983,480bundler
61,483,633,900activesupport
61,483,633,900activesupport
81,469,998,038rake
291,043,852,410rspec
55779,915,426rubocop
97521,925,948simplecov
193294,634,978pry-byebug
205282,250,900rspec_junit_formatter
234243,536,630yard
349158,583,718guard
396140,590,450redcarpet
424132,589,934guard-rspec
79374,173,020fuubar
1,07448,195,125rubocop-rake
2,18912,752,289terminal-notifier-guard
7,528677,322guard-yard
18,426105,814rspec_junit

Owners

#GravatarHandle
1iconaks