Module: Workflow::DependencyBlock
- Defined in:
- lib/rbbt/workflow/definition.rb
Instance Attribute Summary collapse
-
#dependency ⇒ Object
Returns the value of attribute dependency.
Class Method Summary collapse
Instance Attribute Details
#dependency ⇒ Object
Returns the value of attribute dependency.
8 9 10 |
# File 'lib/rbbt/workflow/definition.rb', line 8 def dependency @dependency end |
Class Method Details
.setup(block, dependency) ⇒ Object
9 10 11 12 13 |
# File 'lib/rbbt/workflow/definition.rb', line 9 def self.setup(block, dependency) block.extend DependencyBlock block.dependency = dependency block end |