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: 29,436 of 191,429
Downloads: 46,761

Daily

Ranking: 36,985 of 191,405
Downloads: 8

Depended by

RankDownloadsName
106,5927,313sql_cmd

Depends on

RankDownloadsName
13,288,698,893bundler
71,309,360,128activesupport
71,309,360,128activesupport
81,272,305,385rake
29963,925,737rspec
56668,557,457rubocop
99454,556,942simplecov
182269,604,605pry-byebug
198249,774,405rspec_junit_formatter
227212,107,693yard
330145,887,255guard
395122,435,968guard-rspec
407120,284,531redcarpet
77869,646,182fuubar
1,25835,713,819rubocop-rake
2,14611,658,979terminal-notifier-guard
7,245615,383guard-yard
17,89999,713rspec_junit

Owners

#GravatarHandle
1iconaks