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.



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

#attributesObject (readonly)

Returns the value of attribute attributes.



107
108
109
# File 'lib/cpee/processtransformation/structures.rb', line 107

def attributes
  @attributes
end

#idObject

Returns the value of attribute id.



108
109
110
# File 'lib/cpee/processtransformation/structures.rb', line 108

def id
  @id
end

#typeObject

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

Returns:

  • (Boolean)


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

def condition?; false; end