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: 34,090 of 183,477
Downloads: 33,624
Daily
Ranking: 15,400 of 183,470
Downloads: 8
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
123,891 | 4,713 | sql_cmd |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,456,134,847 | bundler |
7 | 1,004,546,968 | activesupport |
7 | 1,004,546,968 | activesupport |
10 | 969,073,546 | rake |
25 | 825,073,950 | rspec |
62 | 484,887,430 | rubocop |
98 | 353,748,210 | simplecov |
168 | 218,043,350 | pry-byebug |
191 | 194,586,503 | rspec_junit_formatter |
224 | 160,939,746 | yard |
319 | 115,336,133 | guard |
391 | 95,652,527 | guard-rspec |
395 | 94,217,946 | redcarpet |
705 | 61,435,728 | fuubar |
1,518 | 18,958,332 | rubocop-rake |
1,960 | 10,286,212 | terminal-notifier-guard |
7,034 | 506,033 | guard-yard |
17,570 | 87,031 | rspec_junit |
Owners
# | Gravatar | Handle |
---|---|---|
1 | aks |