diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-06-30 14:00:04 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-01 18:38:04 +0900 |
commit | 8da30ad6be34339124ba4cb4e36aea260dda12bc (patch) | |
tree | d71097ef2d4b060783e2df4276d62ffed256f7cb /activesupport/lib/active_support/core_ext/numeric/time.rb | |
parent | 618268b4b9382f4bcf004a945fe2d85c0bd03e32 (diff) | |
download | rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.gz rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.bz2 rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.zip |
[Active Support] require => require_relative
Diffstat (limited to 'activesupport/lib/active_support/core_ext/numeric/time.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/numeric/time.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/core_ext/numeric/time.rb b/activesupport/lib/active_support/core_ext/numeric/time.rb index 2e6c70d418..cf002552fb 100644 --- a/activesupport/lib/active_support/core_ext/numeric/time.rb +++ b/activesupport/lib/active_support/core_ext/numeric/time.rb @@ -1,8 +1,8 @@ -require "active_support/duration" -require "active_support/core_ext/time/calculations" -require "active_support/core_ext/time/acts_like" -require "active_support/core_ext/date/calculations" -require "active_support/core_ext/date/acts_like" +require_relative "../../duration" +require_relative "../time/calculations" +require_relative "../time/acts_like" +require_relative "../date/calculations" +require_relative "../date/acts_like" class Numeric # Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years. |