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.
7 8 9 |
# File 'lib/rbbt/workflow/definition.rb', line 7 def dependency @dependency end |
Class Method Details
.setup(block, dependency) ⇒ Object
8 9 10 11 12 |
# File 'lib/rbbt/workflow/definition.rb', line 8 def self.setup(block, dependency) block.extend DependencyBlock block.dependency = dependency block end |