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: 37,273 of 183,107
Downloads: 29,594

Daily

Ranking: 5,643 of 183,092
Downloads: 412

Depended by

RankDownloadsName
124,3944,646sql_cmd

Depends on

RankDownloadsName
12,407,087,911bundler
7989,475,609activesupport
7989,475,609activesupport
10953,844,246rake
25817,849,894rspec
63475,587,280rubocop
99348,223,614simplecov
168214,812,247pry-byebug
190191,257,776rspec_junit_formatter
224158,681,269yard
317113,449,148guard
38993,982,532guard-rspec
39293,021,715redcarpet
70860,245,256fuubar
1,52818,316,198rubocop-rake
1,94810,213,933terminal-notifier-guard
7,013503,083guard-yard
17,57786,137rspec_junit

Owners

#GravatarHandle
1iconaks