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: - of 0
Downloads: -

Daily

Ranking: - of 0
Downloads: -

Depended by

RankDownloadsName
104,8847,804sql_cmd

Depends on

RankDownloadsName
13,524,455,789bundler
71,375,666,696activesupport
71,375,666,696activesupport
81,354,615,159rake
29993,218,487rspec
56710,510,158rubocop
97478,892,970simplecov
186279,155,865pry-byebug
202262,515,913rspec_junit_formatter
227225,389,305yard
336150,795,209guard
401127,744,888redcarpet
408126,430,910guard-rspec
78571,338,958fuubar
1,17640,176,436rubocop-rake
2,16512,042,006terminal-notifier-guard
7,455638,357guard-yard
18,197101,897rspec_junit

Owners

#GravatarHandle
1iconaks