Class: CPEE::ProcessTransformation::Parallel
- Inherits:
-
Object
- Object
- CPEE::ProcessTransformation::Parallel
- Defined in:
- lib/cpee/processtransformation/structures.rb
Overview
}}}
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#sub ⇒ Object
readonly
Returns the value of attribute sub.
-
#type ⇒ Object
Returns the value of attribute type.
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Method Summary collapse
-
#initialize(id, type, wait = '-1') ⇒ Parallel
constructor
A new instance of Parallel.
- #new_branch ⇒ Object
Methods included from Struct
Methods included from Container
Constructor Details
#initialize(id, type, wait = '-1') ⇒ Parallel
Returns a new instance of Parallel.
131 132 133 134 135 136 137 |
# File 'lib/cpee/processtransformation/structures.rb', line 131 def initialize(id,type,wait='-1') @container = true @id = id @type = type @sub = [] @wait = wait end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
129 130 131 |
# File 'lib/cpee/processtransformation/structures.rb', line 129 def id @id end |
#sub ⇒ Object (readonly)
Returns the value of attribute sub.
129 130 131 |
# File 'lib/cpee/processtransformation/structures.rb', line 129 def sub @sub end |
#type ⇒ Object
Returns the value of attribute type.
130 131 132 |
# File 'lib/cpee/processtransformation/structures.rb', line 130 def type @type end |
#wait ⇒ Object
Returns the value of attribute wait.
130 131 132 |
# File 'lib/cpee/processtransformation/structures.rb', line 130 def wait @wait end |