Categories: None [Edit]
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 104,775 | 8,093 | sql_cmd |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1 | 3,796,160,121 | bundler |
| 7 | 1,443,326,435 | activesupport |
| 7 | 1,443,326,435 | activesupport |
| 8 | 1,428,256,062 | rake |
| 29 | 1,025,379,194 | rspec |
| 55 | 754,099,562 | rubocop |
| 98 | 505,778,426 | simplecov |
| 190 | 288,924,298 | pry-byebug |
| 202 | 274,745,188 | rspec_junit_formatter |
| 233 | 237,222,219 | yard |
| 343 | 155,779,005 | guard |
| 396 | 135,924,855 | redcarpet |
| 418 | 130,367,114 | guard-rspec |
| 797 | 73,111,306 | fuubar |
| 1,099 | 45,227,597 | rubocop-rake |
| 2,180 | 12,486,040 | terminal-notifier-guard |
| 7,496 | 663,304 | guard-yard |
| 18,330 | 104,778 | rspec_junit |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | aks |