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: 30,365 of 188,047
Downloads: 43,284

Daily

Ranking: 12,116 of 188,026
Downloads: 60

Depended by

RankDownloadsName
109,8256,664sql_cmd

Depends on

RankDownloadsName
13,056,135,410bundler
71,230,035,345activesupport
71,230,035,345activesupport
101,181,048,001rake
29931,832,066rspec
57623,053,830rubocop
99430,036,265simplecov
175259,166,050pry-byebug
197237,006,651rspec_junit_formatter
225199,424,334yard
318140,498,964guard
390118,046,772guard-rspec
414112,628,248redcarpet
76167,839,970fuubar
1,31631,340,722rubocop-rake
2,09311,350,344terminal-notifier-guard
7,145593,779guard-yard
17,73696,988rspec_junit

Owners

#GravatarHandle
1iconaks