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: 105,940 of 180,702
Downloads: 6,150

Daily

Ranking: 47,391 of 180,689
Downloads: 7

Depended by

RankDownloadsName
128,9854,205sql_cmd

Depends on

RankDownloadsName
12,107,069,537bundler
7900,314,781activesupport
7900,314,781activesupport
16863,261,344rake
24772,716,171rspec
68420,205,956rubocop
101315,078,360simplecov
170194,071,108pry-byebug
191169,650,523rspec_junit_formatter
223143,611,496yard
316102,020,933guard
37886,108,608redcarpet
38883,840,006guard-rspec
71552,850,648fuubar
1,56714,656,468rubocop-rake
1,8599,738,814terminal-notifier-guard
6,851479,490guard-yard
17,44881,984rspec_junit

Owners

#GravatarHandle
1iconaks