diff options
author | Kenny Meyer <knny.myer@gmail.com> | 2014-03-09 21:32:26 -0300 |
---|---|---|
committer | Kenny Meyer <knny.myer@gmail.com> | 2014-03-09 21:54:01 -0300 |
commit | b5dc91deaa0366d09d646d7c863eb32f14ed0610 (patch) | |
tree | 29f536ca011e41a6365f6001f0e9035e22281a22 /activerecord | |
parent | 29bd586fed5753f5842eadf105042c27734c50ca (diff) | |
download | rails-b5dc91deaa0366d09d646d7c863eb32f14ed0610.tar.gz rails-b5dc91deaa0366d09d646d7c863eb32f14ed0610.tar.bz2 rails-b5dc91deaa0366d09d646d7c863eb32f14ed0610.zip |
Enhance readability of ActionView DateHelper#distance_of_time_in_words
Refactor numerical constants to module constants which give the numbers
a contextual meaning. This commit aims to provide quicker understanding
for part of the implementation of the
DateHelper#distance_of_time_in_words method.
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions