diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-08 14:36:00 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2019-01-08 15:05:40 -0800 |
commit | 36de9eadaa9193cbc43a501aa345636d77d3b5c1 (patch) | |
tree | df7eb69871a71d5f174efcb068667993a4f75d25 /activesupport/test/xml_mini | |
parent | 80c7038bbc8e83762f4396b18260f470d8621995 (diff) | |
download | rails-36de9eadaa9193cbc43a501aa345636d77d3b5c1.tar.gz rails-36de9eadaa9193cbc43a501aa345636d77d3b5c1.tar.bz2 rails-36de9eadaa9193cbc43a501aa345636d77d3b5c1.zip |
Duration#coerce should always return a Scalar
This speeds up Range.new(x, y).step(Duration).each { ... }
Fixes #34888
Diffstat (limited to 'activesupport/test/xml_mini')
0 files changed, 0 insertions, 0 deletions