From e6effb247a8051d21c2e9bdeed6c48a511f16b28 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 6 Jul 2015 19:35:41 +0200 Subject: Removing unused matches? method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @lifo I couldn’t find any use of documentation for this, so removed it for now. Was it just for testing? --- lib/action_cable/channel/base.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/action_cable/channel') 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 -- cgit v1.2.3