Methods
- C
- N
- T
Attributes
[R] | identifiers | |
[R] | logger | |
[R] | server | |
[R] | subscriptions | |
[R] | transmissions |
Class Public methods
new(identifiers = {}) Link
# File actioncable/lib/action_cable/channel/test_case.rb, line 54 def initialize(identifiers = {}) @server = ActionCable.server @transmissions = [] identifiers.each do |identifier, val| define_singleton_method(identifier) { val } end @subscriptions = ActionCable::Connection::Subscriptions.new(self) @identifiers = identifiers.keys @logger = ActiveSupport::TaggedLogging.new ActiveSupport::Logger.new(StringIO.new) end