diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:13:46 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-06 19:13:46 +0200 |
commit | b678eb57e93423ac8e2a0cc0b083ce556c6fb130 (patch) | |
tree | 7cba336a3a15179b3b549c34a4b0d0e2474f62cd /actioncable/lib/action_cable/channel/periodic_timers.rb | |
parent | b91ff557ef6f621d1b921f358fd5b8a5d9e9090e (diff) | |
download | rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.tar.gz rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.tar.bz2 rails-b678eb57e93423ac8e2a0cc0b083ce556c6fb130.zip |
applies new string literal convention in actioncable/lib
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
Diffstat (limited to 'actioncable/lib/action_cable/channel/periodic_timers.rb')
-rw-r--r-- | actioncable/lib/action_cable/channel/periodic_timers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/periodic_timers.rb b/actioncable/lib/action_cable/channel/periodic_timers.rb index 41511312fc..c9daa0bcd3 100644 --- a/actioncable/lib/action_cable/channel/periodic_timers.rb +++ b/actioncable/lib/action_cable/channel/periodic_timers.rb @@ -30,7 +30,7 @@ module ActionCable def periodically(callback_or_method_name = nil, every:, &block) callback = if block_given? - raise ArgumentError, 'Pass a block or provide a callback arg, not both' if callback_or_method_name + raise ArgumentError, "Pass a block or provide a callback arg, not both" if callback_or_method_name block else case callback_or_method_name |