aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string/zones.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-06-30 14:00:04 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-07-01 18:38:04 +0900
commit8da30ad6be34339124ba4cb4e36aea260dda12bc (patch)
treed71097ef2d4b060783e2df4276d62ffed256f7cb /activesupport/lib/active_support/core_ext/string/zones.rb
parent618268b4b9382f4bcf004a945fe2d85c0bd03e32 (diff)
downloadrails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.gz
rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.tar.bz2
rails-8da30ad6be34339124ba4cb4e36aea260dda12bc.zip
[Active Support] require => require_relative
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/zones.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/string/zones.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/zones.rb b/activesupport/lib/active_support/core_ext/string/zones.rb
index de5a28e4f7..d8d22a6799 100644
--- a/activesupport/lib/active_support/core_ext/string/zones.rb
+++ b/activesupport/lib/active_support/core_ext/string/zones.rb
@@ -1,5 +1,5 @@
-require "active_support/core_ext/string/conversions"
-require "active_support/core_ext/time/zones"
+require_relative "conversions"
+require_relative "../time/zones"
class String
# Converts String to a TimeWithZone in the current zone if Time.zone or Time.zone_default