Module: Adept::ConnectionProvider
- Included in:
- JTAG::Connection
- Defined in:
- lib/adept/connection_provider.rb
Overview
Base for Adept connections.
Class Method Summary collapse
-
.extended(connection) ⇒ Object
Triggered each time a target class extends this basic connection.
-
.providers ⇒ Object
Returns the list of all supported connection providers.
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 |
.providers ⇒ Object
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 |