diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-16 20:10:15 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-23 23:30:29 +0300 |
commit | 385825fb705446a1f11e82b65ca97a50d7e67898 (patch) | |
tree | e1a1e78c43611f7c3467380af97df34711bcb294 /actioncable/lib/action_cable/channel/base.rb | |
parent | 68191d0f6e8d763730a1ae3841570e11b2896272 (diff) | |
download | rails-385825fb705446a1f11e82b65ca97a50d7e67898.tar.gz rails-385825fb705446a1f11e82b65ca97a50d7e67898.tar.bz2 rails-385825fb705446a1f11e82b65ca97a50d7e67898.zip |
Use frozen string literal in actioncable/
Diffstat (limited to 'actioncable/lib/action_cable/channel/base.rb')
-rw-r--r-- | actioncable/lib/action_cable/channel/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/base.rb b/actioncable/lib/action_cable/channel/base.rb index 33b34b4da0..c5ad749bfe 100644 --- a/actioncable/lib/action_cable/channel/base.rb +++ b/actioncable/lib/action_cable/channel/base.rb @@ -270,7 +270,7 @@ module ActionCable end def action_signature(action, data) - "#{self.class.name}##{action}".tap do |signature| + "#{self.class.name}##{action}".dup.tap do |signature| if (arguments = data.except("action")).any? signature << "(#{arguments.inspect})" end |