Class: Train::Plugins

Inherits:
Object
  • Object
show all
Defined in:
lib/train/plugins.rb,
lib/train/plugins/transport.rb

Defined Under Namespace

Classes: Transport

Class Method Summary collapse

Class Method Details

.registryHash

Retrieve the current plugin registry, containing all plugin names and their transport handlers.

Returns:

  • (Hash)

    map with plugin names and plugins



17
18
19
# File 'lib/train/plugins.rb', line 17

def registry
  @registry ||= {}
end