aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2017-05-31 12:16:20 +0300
committerGenadi Samokovarov <gsamokovarov@gmail.com>2017-06-03 13:52:48 +0300
commitb6b0c99ff3e8ace3f42813154dbe4b8ad6a98e6c (patch)
tree5d2f9250f66f675280c2761daa52880b28d6a86e /actioncable/lib/action_cable/server
parenta5b0c60714e1e8d8c182af830a26e1c7c884271d (diff)
downloadrails-b6b0c99ff3e8ace3f42813154dbe4b8ad6a98e6c.tar.gz
rails-b6b0c99ff3e8ace3f42813154dbe4b8ad6a98e6c.tar.bz2
rails-b6b0c99ff3e8ace3f42813154dbe4b8ad6a98e6c.zip
Use mattr_accessor default: option throughout the project
Diffstat (limited to 'actioncable/lib/action_cable/server')
-rw-r--r--actioncable/lib/action_cable/server/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/server/base.rb b/actioncable/lib/action_cable/server/base.rb
index 419eccd73c..3b3a17a532 100644
--- a/actioncable/lib/action_cable/server/base.rb
+++ b/actioncable/lib/action_cable/server/base.rb
@@ -10,7 +10,7 @@ module ActionCable
include ActionCable::Server::Broadcasting
include ActionCable::Server::Connections
- cattr_accessor(:config, instance_accessor: true) { ActionCable::Server::Configuration.new }
+ cattr_accessor :config, instance_accessor: true, default: ActionCable::Server::Configuration.new
def self.logger; config.logger; end
delegate :logger, to: :config