Class: CPEE::ProcessTransformation::InfiniteLoop

Inherits:
Array
  • Object
show all
Includes:
Container
Defined in:
lib/cpee/processtransformation/structures.rb

Overview

}}}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Container

#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

#idObject

Returns the value of attribute id.



105
106
107
# File 'lib/cpee/processtransformation/structures.rb', line 105

def id
  @id
end

#typeObject

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

Returns:

  • (Boolean)


104
# File 'lib/cpee/processtransformation/structures.rb', line 104

def condition?; false; end