class SmartProxyDynflowCore::TaskLauncherRegistry

Public Class Methods

fetch(name, default = nil) click to toggle source
# File lib/smart_proxy_dynflow_core/task_launcher_registry.rb, line 9
def fetch(name, default = nil)
  if default.nil?
    registry.fetch(name)
  else
    registry.fetch(name, default)
  end
end
key?(name) click to toggle source
# File lib/smart_proxy_dynflow_core/task_launcher_registry.rb, line 17
def key?(name)
  registry.key?(name)
end
operations() click to toggle source
# File lib/smart_proxy_dynflow_core/task_launcher_registry.rb, line 21
def operations
  registry.keys
end
register(name, launcher) click to toggle source
# File lib/smart_proxy_dynflow_core/task_launcher_registry.rb, line 5
def register(name, launcher)
  registry[name] = launcher
end

Private Class Methods

registry() click to toggle source
# File lib/smart_proxy_dynflow_core/task_launcher_registry.rb, line 27
def registry
  @registry ||= {}
end