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/json | |
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/json')
-rw-r--r-- | activesupport/lib/active_support/json/decoding.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/json/encoding.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index c60ebb2795..515a11edf1 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../core_ext/module/attribute_accessors" require_relative "../core_ext/module/delegation" require "json" diff --git a/activesupport/lib/active_support/json/encoding.rb b/activesupport/lib/active_support/json/encoding.rb index e7679e4630..153f1fdbd2 100644 --- a/activesupport/lib/active_support/json/encoding.rb +++ b/activesupport/lib/active_support/json/encoding.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require_relative "../core_ext/object/json" require_relative "../core_ext/module/delegation" |