Class: CPEE::ProcessTransformation::Loop
- Inherits:
-
Array
- Object
- Array
- CPEE::ProcessTransformation::Loop
- Includes:
- Container
- Defined in:
- lib/cpee/processtransformation/structures.rb
Overview
}}}
Instance Attribute Summary collapse
-
#condition ⇒ Object
Returns the value of attribute condition.
-
#condition_type ⇒ Object
Returns the value of attribute condition_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #condition? ⇒ Boolean
-
#initialize(id) ⇒ Loop
constructor
A new instance of Loop.
Methods included from Container
Constructor Details
#initialize(id) ⇒ Loop
Returns a new instance of Loop.
115 116 117 118 119 120 121 |
# File 'lib/cpee/processtransformation/structures.rb', line 115 def initialize(id) @container = true @id = id @type = :loop @condition = [] @condition_type = nil end |
Instance Attribute Details
#condition ⇒ Object
Returns the value of attribute condition.
113 114 115 |
# File 'lib/cpee/processtransformation/structures.rb', line 113 def condition @condition end |
#condition_type ⇒ Object
Returns the value of attribute condition_type.
113 114 115 |
# File 'lib/cpee/processtransformation/structures.rb', line 113 def condition_type @condition_type end |
#id ⇒ Object
Returns the value of attribute id.
113 114 115 |
# File 'lib/cpee/processtransformation/structures.rb', line 113 def id @id end |
#type ⇒ Object
Returns the value of attribute type.
113 114 115 |
# File 'lib/cpee/processtransformation/structures.rb', line 113 def type @type end |
Instance Method Details
#condition? ⇒ Boolean
114 |
# File 'lib/cpee/processtransformation/structures.rb', line 114 def condition?; true; end |