Class: WFlow::Node
- Inherits:
-
Object
- Object
- WFlow::Node
- Defined in:
- lib/w_flow/node.rb
Class Attribute Summary collapse
-
.options ⇒ Object
readonly
Returns the value of attribute options.
-
.tasks ⇒ Object
readonly
Returns the value of attribute tasks.
Class Method Summary collapse
Class Attribute Details
.options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/w_flow/node.rb', line 6 def end |
.tasks ⇒ Object (readonly)
Returns the value of attribute tasks.
6 7 8 |
# File 'lib/w_flow/node.rb', line 6 def tasks @tasks end |
Class Method Details
.build(tasks, options) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/w_flow/node.rb', line 8 def build(tasks, ) Class.new(self) do |klass| @tasks = tasks = end end |