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,624 of 190,280
Downloads: 46,046

Daily

Ranking: 16,998 of 190,253
Downloads: 22

Depended by

RankDownloadsName
106,6377,262sql_cmd

Depends on

RankDownloadsName
13,236,941,822bundler
71,292,989,889activesupport
71,292,989,889activesupport
81,254,137,753rake
29956,893,742rspec
56659,025,669rubocop
99449,278,982simplecov
181267,458,197pry-byebug
199246,946,766rspec_junit_formatter
227209,421,057yard
327144,741,922guard
393121,516,971guard-rspec
412118,466,961redcarpet
77769,222,442fuubar
1,27734,762,537rubocop-rake
2,13611,585,985terminal-notifier-guard
7,227610,573guard-yard
17,87799,230rspec_junit

Owners

#GravatarHandle
1iconaks