diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-09 15:06:36 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-09 15:08:29 +0300 |
commit | 72950568dde05bfe8a69ce4bbf6338fdebf3062f (patch) | |
tree | f6260647b0a5521d402c3196591465a04df76265 /activesupport/lib/active_support/inflector | |
parent | 6f2b0eb44ab166f98f3bc4a3aa09d3b899e0fd62 (diff) | |
download | rails-72950568dde05bfe8a69ce4bbf6338fdebf3062f.tar.gz rails-72950568dde05bfe8a69ce4bbf6338fdebf3062f.tar.bz2 rails-72950568dde05bfe8a69ce4bbf6338fdebf3062f.zip |
Use frozen-string-literal in ActiveSupport
Diffstat (limited to 'activesupport/lib/active_support/inflector')
3 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/inflector/inflections.rb b/activesupport/lib/active_support/inflector/inflections.rb index 2cb7828968..b8f7cc4c6d 100644 --- a/activesupport/lib/active_support/inflector/inflections.rb +++ b/activesupport/lib/active_support/inflector/inflections.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "concurrent/map" require_relative "../core_ext/array/prepend_and_append" require_relative "../core_ext/regexp" diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb index ba85d3bb33..0e6fd145a2 100644 --- a/activesupport/lib/active_support/inflector/methods.rb +++ b/activesupport/lib/active_support/inflector/methods.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../inflections" require_relative "../core_ext/regexp" diff --git a/activesupport/lib/active_support/inflector/transliterate.rb b/activesupport/lib/active_support/inflector/transliterate.rb index 0775ee51bc..6267142628 100644 --- a/activesupport/lib/active_support/inflector/transliterate.rb +++ b/activesupport/lib/active_support/inflector/transliterate.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../core_ext/string/multibyte" require_relative "../i18n" |