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
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#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.
109 110 111 112 113 114 |
# File 'lib/cpee/processtransformation/structures.rb', line 109 def initialize(id) @container = true @id = id @type = :loop @attributes = {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
107 108 109 |
# File 'lib/cpee/processtransformation/structures.rb', line 107 def attributes @attributes end |
#id ⇒ Object
Returns the value of attribute id.
108 109 110 |
# File 'lib/cpee/processtransformation/structures.rb', line 108 def id @id end |
#type ⇒ Object
Returns the value of attribute type.
108 109 110 |
# File 'lib/cpee/processtransformation/structures.rb', line 108 def type @type end |
Instance Method Details
#condition? ⇒ Boolean
106 |
# File 'lib/cpee/processtransformation/structures.rb', line 106 def condition?; false; end |