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,264 of 192,104
Downloads: 47,857

Daily

Ranking: 35,530 of 192,085
Downloads: 6

Depended by

RankDownloadsName
106,3287,428sql_cmd

Depends on

RankDownloadsName
13,340,208,428bundler
71,324,932,202activesupport
71,324,932,202activesupport
81,291,638,605rake
29970,683,748rspec
56678,325,313rubocop
99459,987,123simplecov
183271,785,240pry-byebug
197253,092,152rspec_junit_formatter
227214,886,588yard
330147,016,746guard
399123,358,996guard-rspec
405122,084,477redcarpet
77770,074,539fuubar
1,23536,728,551rubocop-rake
2,15311,732,721terminal-notifier-guard
7,249622,022guard-yard
18,025100,212rspec_junit

Owners

#GravatarHandle
1iconaks