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: 33,744 of 184,132
Downloads: 34,577

Daily

Ranking: 31,584 of 184,122
Downloads: 2

Depended by

RankDownloadsName
122,8554,855sql_cmd

Depends on

RankDownloadsName
12,539,145,716bundler
71,032,114,073activesupport
71,032,114,073activesupport
10995,726,846rake
26838,510,769rspec
61502,231,709rubocop
99363,808,754simplecov
169224,191,592pry-byebug
190201,176,929rspec_junit_formatter
226165,146,213yard
314119,225,557guard
39199,134,600guard-rspec
40196,420,007redcarpet
70763,597,959fuubar
1,50220,268,305rubocop-rake
1,98310,406,355terminal-notifier-guard
7,082513,283guard-yard
17,55788,457rspec_junit

Owners

#GravatarHandle
1iconaks