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: 37,273 of 183,107
Downloads: 29,594
Daily
Ranking: 5,643 of 183,092
Downloads: 412
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
124,394 | 4,646 | sql_cmd |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,407,087,911 | bundler |
7 | 989,475,609 | activesupport |
7 | 989,475,609 | activesupport |
10 | 953,844,246 | rake |
25 | 817,849,894 | rspec |
63 | 475,587,280 | rubocop |
99 | 348,223,614 | simplecov |
168 | 214,812,247 | pry-byebug |
190 | 191,257,776 | rspec_junit_formatter |
224 | 158,681,269 | yard |
317 | 113,449,148 | guard |
389 | 93,982,532 | guard-rspec |
392 | 93,021,715 | redcarpet |
708 | 60,245,256 | fuubar |
1,528 | 18,316,198 | rubocop-rake |
1,948 | 10,213,933 | terminal-notifier-guard |
7,013 | 503,083 | guard-yard |
17,577 | 86,137 | rspec_junit |
Owners
# | Gravatar | Handle |
---|---|---|
1 | aks |