aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/bin
diff options
context:
space:
mode:
authorPan Thomakos <pan.thomakos@gmail.com>2012-07-10 17:10:23 -0700
committerPan Thomakos <pan.thomakos@gmail.com>2012-08-04 16:13:03 -0700
commitb530fd1083c0dc71606e13c30bf0b713ad416213 (patch)
tree6e708492caa7539db109a948edabda49f547671f /activesupport/bin
parentc5807728d52c98b76e9badd95093471044b98d07 (diff)
downloadrails-b530fd1083c0dc71606e13c30bf0b713ad416213.tar.gz
rails-b530fd1083c0dc71606e13c30bf0b713ad416213.tar.bz2
rails-b530fd1083c0dc71606e13c30bf0b713ad416213.zip
Refactored common date and time calculations.
* Added the `DateAndTime::Calculations` module that is included in Time and Date. It houses common calculations to reduce duplicated code. * Simplified and cleaned-up the calculation code. * Removed duplication in tests by adding a behavior module for shared tests. I also added some missing tests.
Diffstat (limited to 'activesupport/bin')
0 files changed, 0 insertions, 0 deletions