instance method determine_default_connection

Ruby on Rails 6.1.7.10

Since v6.0.6

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

determine_default_connection(name)

No documentation comment.

Parameters

name req
Source
# File actioncable/lib/action_cable/connection/test_case.rb, line 166
          def determine_default_connection(name)
            connection = determine_constant_from_test_name(name) do |constant|
              Class === constant && constant < ActionCable::Connection::Base
            end
            raise NonInferrableConnectionError.new(name) if connection.nil?
            connection
          end

Defined in actioncable/lib/action_cable/connection/test_case.rb line 166 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Connection::TestCase::Behavior::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close