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: 28,889 of 193,649
Downloads: 49,665

Daily

Ranking: 12,490 of 193,618
Downloads: 65

Depended by

RankDownloadsName
105,0867,750sql_cmd

Depends on

RankDownloadsName
13,490,992,976bundler
71,367,119,287activesupport
71,367,119,287activesupport
81,345,057,418rake
29989,166,690rspec
56704,753,536rubocop
97475,523,798simplecov
186277,854,960pry-byebug
202260,940,575rspec_junit_formatter
226223,849,655yard
335150,140,601guard
400126,706,451redcarpet
404125,908,443guard-rspec
78471,117,065fuubar
1,18539,561,884rubocop-rake
2,16511,976,315terminal-notifier-guard
7,454635,983guard-yard
18,189101,574rspec_junit

Owners

#GravatarHandle
1iconaks