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/notifications | |
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/notifications')
-rw-r--r-- | activesupport/lib/active_support/notifications/fanout.rb | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/notifications/instrumenter.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb index 9da115f552..b69d1bcd25 100644 --- a/activesupport/lib/active_support/notifications/fanout.rb +++ b/activesupport/lib/active_support/notifications/fanout.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "mutex_m" require "concurrent/map" diff --git a/activesupport/lib/active_support/notifications/instrumenter.rb b/activesupport/lib/active_support/notifications/instrumenter.rb index e11e2e0689..00936f5b9e 100644 --- a/activesupport/lib/active_support/notifications/instrumenter.rb +++ b/activesupport/lib/active_support/notifications/instrumenter.rb @@ -1,3 +1,4 @@ +# frozen_string_literal: true require "securerandom" module ActiveSupport |