Class: CPEE::ProcessTransformation::InfiniteLoop
- Inherits:
-
Array
- Object
- Array
- CPEE::ProcessTransformation::InfiniteLoop
- Includes:
- Container
- Defined in:
- lib/cpee/processtransformation/structures.rb
Overview
}}}
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #condition? ⇒ Boolean
-
#initialize(id) ⇒ InfiniteLoop
constructor
A new instance of InfiniteLoop.
Methods included from Container
Constructor Details
#initialize(id) ⇒ InfiniteLoop
Returns a new instance of InfiniteLoop.
106 107 108 109 110 |
# File 'lib/cpee/processtransformation/structures.rb', line 106 def initialize(id) @container = true @id = id @type = :loop end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
105 106 107 |
# File 'lib/cpee/processtransformation/structures.rb', line 105 def id @id end |
#type ⇒ Object
Returns the value of attribute type.
105 106 107 |
# File 'lib/cpee/processtransformation/structures.rb', line 105 def type @type end |
Instance Method Details
#condition? ⇒ Boolean
104 |
# File 'lib/cpee/processtransformation/structures.rb', line 104 def condition?; false; end |