class ActionCable::Connection::SubscriptionsTest::ChatChannel
Attributes
lines[R]
room[R]
Public Instance Methods
speak(data)
click to toggle source
# File actioncable/test/connection/subscriptions_test.rb, line 22 def speak(data) @lines << data end
subscribed()
click to toggle source
# File actioncable/test/connection/subscriptions_test.rb, line 17 def subscribed @room = Room.new params[:id] @lines = [] end