class method
self.new
Ruby on Rails 8.1.2
Since v6.0.6Signature
self.new(name)
No documentation comment.
Parameters
-
namereq
Source
# File actioncable/lib/action_cable/channel/test_case.rb, line 13
def initialize(name)
super "Unable to determine the channel to test from #{name}. " +
"You'll need to specify it using `tests YourChannel` in your " +
"test case definition."
end
Defined in actioncable/lib/action_cable/channel/test_case.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub