aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-07-09 22:58:40 +0930
committerGitHub <noreply@github.com>2017-07-09 22:58:40 +0930
commit8d98bb0cc6e2baf1694971ae2bdf19e8b8bcdce5 (patch)
tree73eea0eedbeb925587a24b7e870082ccb6e66f9f /activesupport/lib/active_support/dependencies
parent650ea5e5cf50d8a7242499463cf1762922d330a8 (diff)
parent72950568dde05bfe8a69ce4bbf6338fdebf3062f (diff)
downloadrails-8d98bb0cc6e2baf1694971ae2bdf19e8b8bcdce5.tar.gz
rails-8d98bb0cc6e2baf1694971ae2bdf19e8b8bcdce5.tar.bz2
rails-8d98bb0cc6e2baf1694971ae2bdf19e8b8bcdce5.zip
Merge pull request #29728 from kirs/frozen-activesupport
Use frozen-string-literal in ActiveSupport
Diffstat (limited to 'activesupport/lib/active_support/dependencies')
-rw-r--r--activesupport/lib/active_support/dependencies/autoload.rb1
-rw-r--r--activesupport/lib/active_support/dependencies/interlock.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/dependencies/autoload.rb b/activesupport/lib/active_support/dependencies/autoload.rb
index 9e4d3b783b..fcf550be3d 100644
--- a/activesupport/lib/active_support/dependencies/autoload.rb
+++ b/activesupport/lib/active_support/dependencies/autoload.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require_relative "../inflector/methods"
module ActiveSupport
diff --git a/activesupport/lib/active_support/dependencies/interlock.rb b/activesupport/lib/active_support/dependencies/interlock.rb
index b88cf08dd2..0d80484c00 100644
--- a/activesupport/lib/active_support/dependencies/interlock.rb
+++ b/activesupport/lib/active_support/dependencies/interlock.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require_relative "../concurrency/share_lock"
module ActiveSupport #:nodoc: