aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/duration_test.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-03-16 09:14:13 +0000
committerAndrew White <andrew.white@unboxed.co>2017-03-16 09:14:13 +0000
commit505537082849d912e8e29819655b80a573e93c0c (patch)
tree77e09fc8e076a47fe78498784fd12767a799a9e3 /activesupport/test/core_ext/duration_test.rb
parentee33b9e93a5a06aa6c312466576b91ed210cf7c0 (diff)
downloadrails-505537082849d912e8e29819655b80a573e93c0c.tar.gz
rails-505537082849d912e8e29819655b80a573e93c0c.tar.bz2
rails-505537082849d912e8e29819655b80a573e93c0c.zip
Move `to_time` to `DateTime` compatibility.rb file
We are overriding it in `Time` and `ActiveSupport::TimeWithZone` so there's no point in having it in the `DateAndTime::Compatibility` module. Also add some docs for the `to_time` implementations.
Diffstat (limited to 'activesupport/test/core_ext/duration_test.rb')
0 files changed, 0 insertions, 0 deletions