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,079 of 197,085
Downloads: 51,078

Daily

Ranking: 42,533 of 197,066
Downloads: 2

Depended by

RankDownloadsName
104,7758,093sql_cmd

Depends on

RankDownloadsName
13,796,160,121bundler
71,443,326,435activesupport
71,443,326,435activesupport
81,428,256,062rake
291,025,379,194rspec
55754,099,562rubocop
98505,778,426simplecov
190288,924,298pry-byebug
202274,745,188rspec_junit_formatter
233237,222,219yard
343155,779,005guard
396135,924,855redcarpet
418130,367,114guard-rspec
79773,111,306fuubar
1,09945,227,597rubocop-rake
2,18012,486,040terminal-notifier-guard
7,496663,304guard-yard
18,330104,778rspec_junit

Owners

#GravatarHandle
1iconaks