class Proxy::Dynflow::TaskLauncherRegistry

Public Class Methods

fetch(name, default = nil) click to toggle source
# File lib/smart_proxy_dynflow/task_launcher_registry.rb, line 10
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/task_launcher_registry.rb, line 18
def key?(name)
  registry.key?(name)
end
operations() click to toggle source
# File lib/smart_proxy_dynflow/task_launcher_registry.rb, line 22
def operations
  registry.keys
end
register(name, launcher) click to toggle source
# File lib/smart_proxy_dynflow/task_launcher_registry.rb, line 6
def register(name, launcher)
  registry[name] = launcher
end

Private Class Methods

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