Class: SimplerWorkflow::WorkflowCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/simpler_workflow/workflow_collection.rb

Instance Method Summary collapse

Instance Method Details

#[](name, version) ⇒ Object



3
4
5
# File 'lib/simpler_workflow/workflow_collection.rb', line 3

def [](name, version)
  registry[[name,version]]
end

#[]=(name, version, value) ⇒ Object



7
8
9
# File 'lib/simpler_workflow/workflow_collection.rb', line 7

def []=(name, version, value)
  registry[[name, version]] = value
end