aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/channel
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-07-06 19:35:41 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-07-07 19:03:57 +0200
commite6effb247a8051d21c2e9bdeed6c48a511f16b28 (patch)
treea3d7743373981433ea574de26ae37832e41b5513 /lib/action_cable/channel
parent70361c7ddf4581cd55a7117297cf023c7a9f3297 (diff)
downloadrails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.tar.gz
rails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.tar.bz2
rails-e6effb247a8051d21c2e9bdeed6c48a511f16b28.zip
Removing unused matches? method
@lifo I couldn’t find any use of documentation for this, so removed it for now. Was it just for testing?
Diffstat (limited to 'lib/action_cable/channel')
-rw-r--r--lib/action_cable/channel/base.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb
index ee22db4e09..cf5f593a31 100644
--- a/lib/action_cable/channel/base.rb
+++ b/lib/action_cable/channel/base.rb
@@ -11,12 +11,6 @@ module ActionCable
attr_reader :params, :connection
delegate :logger, to: :connection
- class << self
- def matches?(identifier)
- raise "Please implement #{name}#matches? method"
- end
- end
-
def initialize(connection, channel_identifier, params = {})
@connection = connection
@channel_identifier = channel_identifier