diff options
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/iterators.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/iterators.rb b/activesupport/lib/active_support/core_ext/string/iterators.rb index fe17d140ca..6ca6375fda 100644 --- a/activesupport/lib/active_support/core_ext/string/iterators.rb +++ b/activesupport/lib/active_support/core_ext/string/iterators.rb @@ -1,4 +1,4 @@ -require 'strscan' +autoload :StringScanner, 'strscan' unless defined? :StringScanner module ActiveSupport #:nodoc: module CoreExtensions #:nodoc: |