aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2015-06-24 14:40:51 -0400
committerJavan Makhmali <javan@javan.us>2015-06-24 14:40:51 -0400
commit88585965ec00bbe9fe41bbe468bfbbf6dc0f9d89 (patch)
tree769bd837165fcef002e22a0b38eefac6e7f32197 /lib
parent268ee5208ce513eb0b74e2354259e7991d1633c9 (diff)
downloadrails-88585965ec00bbe9fe41bbe468bfbbf6dc0f9d89.tar.gz
rails-88585965ec00bbe9fe41bbe468bfbbf6dc0f9d89.tar.bz2
rails-88585965ec00bbe9fe41bbe468bfbbf6dc0f9d89.zip
Remove now unused channel_name
Diffstat (limited to 'lib')
-rw-r--r--lib/action_cable/channel/base.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb
index 83ba2cb3d2..6c55a8ed65 100644
--- a/lib/action_cable/channel/base.rb
+++ b/lib/action_cable/channel/base.rb
@@ -10,16 +10,10 @@ module ActionCable
attr_reader :params, :connection
delegate :logger, to: :connection
- class_attribute :channel_name
-
class << self
def matches?(identifier)
raise "Please implement #{name}#matches? method"
end
-
- def find_name
- @name ||= channel_name || to_s.demodulize.underscore
- end
end
def initialize(connection, channel_identifier, params = {})
@@ -138,4 +132,4 @@ module ActionCable
end
end
end
-end \ No newline at end of file
+end