Module: Adept::ConnectionProvider

Included in:
JTAG::Connection
Defined in:
lib/adept/connection_provider.rb

Overview

Base for Adept connections.

Class Method Summary collapse

Class Method Details

.extended(connection) ⇒ Object

Triggered each time a target class extends this basic connection. Stores a list of all classes that extend ConnectionBase.



17
18
19
# File 'lib/adept/connection_provider.rb', line 17

def self.extended(connection)
  @supported_connections << connection
end

.providersObject

Returns the list of all supported connection providers.



24
25
26
# File 'lib/adept/connection_provider.rb', line 24

def self.providers
  @supported_connections
end