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,010 of 188,757
Downloads: 44,528

Daily

Ranking: 13,858 of 188,742
Downloads: 34

Depended by

RankDownloadsName
107,9276,985sql_cmd

Depends on

RankDownloadsName
13,119,417,231bundler
71,254,855,604activesupport
71,254,855,604activesupport
101,202,260,445rake
29941,173,382rspec
57636,759,505rubocop
99437,027,655simplecov
178262,252,145pry-byebug
199240,420,416rspec_junit_formatter
225203,242,642yard
323142,043,841guard
393119,307,201guard-rspec
415114,661,624redcarpet
76968,307,227fuubar
1,30132,590,284rubocop-rake
2,11411,442,356terminal-notifier-guard
7,174600,929guard-yard
17,78898,037rspec_junit

Owners

#GravatarHandle
1iconaks