diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-06-30 14:04:27 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2017-07-01 18:38:04 +0900 |
commit | ee5cfc01a5797f854c8441539b0cae326a81b963 (patch) | |
tree | 508f9211b7c051743d6685cf35a6635888bc1e90 /activemodel/lib/active_model/type | |
parent | 8da30ad6be34339124ba4cb4e36aea260dda12bc (diff) | |
download | rails-ee5cfc01a5797f854c8441539b0cae326a81b963.tar.gz rails-ee5cfc01a5797f854c8441539b0cae326a81b963.tar.bz2 rails-ee5cfc01a5797f854c8441539b0cae326a81b963.zip |
[Active Model] require => require_relative
Diffstat (limited to 'activemodel/lib/active_model/type')
-rw-r--r-- | activemodel/lib/active_model/type/big_integer.rb | 2 | ||||
-rw-r--r-- | activemodel/lib/active_model/type/helpers.rb | 8 | ||||
-rw-r--r-- | activemodel/lib/active_model/type/string.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/activemodel/lib/active_model/type/big_integer.rb b/activemodel/lib/active_model/type/big_integer.rb index 3b629682fe..f461d7041e 100644 --- a/activemodel/lib/active_model/type/big_integer.rb +++ b/activemodel/lib/active_model/type/big_integer.rb @@ -1,4 +1,4 @@ -require "active_model/type/integer" +require_relative "integer" module ActiveModel module Type diff --git a/activemodel/lib/active_model/type/helpers.rb b/activemodel/lib/active_model/type/helpers.rb index 82cd9ebe98..1fe06ab3d5 100644 --- a/activemodel/lib/active_model/type/helpers.rb +++ b/activemodel/lib/active_model/type/helpers.rb @@ -1,4 +1,4 @@ -require "active_model/type/helpers/accepts_multiparameter_time" -require "active_model/type/helpers/numeric" -require "active_model/type/helpers/mutable" -require "active_model/type/helpers/time_value" +require_relative "helpers/accepts_multiparameter_time" +require_relative "helpers/numeric" +require_relative "helpers/mutable" +require_relative "helpers/time_value" diff --git a/activemodel/lib/active_model/type/string.rb b/activemodel/lib/active_model/type/string.rb index 850cab962b..2fc027d3c4 100644 --- a/activemodel/lib/active_model/type/string.rb +++ b/activemodel/lib/active_model/type/string.rb @@ -1,4 +1,4 @@ -require "active_model/type/immutable_string" +require_relative "immutable_string" module ActiveModel module Type |