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



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

def registry
  @registry ||= {}
end