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,981 of 193,188
Downloads: 49,150

Daily

Ranking: 24,914 of 193,154
Downloads: 16

Depended by

RankDownloadsName
105,5267,652sql_cmd

Depends on

RankDownloadsName
13,439,241,904bundler
71,353,936,019activesupport
71,353,936,019activesupport
81,329,290,503rake
29982,808,292rspec
56695,671,282rubocop
97470,194,359simplecov
184275,839,103pry-byebug
202258,312,886rspec_junit_formatter
227221,243,301yard
334149,128,266guard
400125,123,802redcarpet
402125,089,344guard-rspec
78370,777,782fuubar
1,20038,658,186rubocop-rake
2,16411,891,661terminal-notifier-guard
7,309630,866guard-yard
18,140101,187rspec_junit

Owners

#GravatarHandle
1iconaks