Class: CPEE::ProcessTransformation::Branch

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) ⇒ Branch

Returns a new instance of Branch.



96
97
98
99
# File 'lib/cpee/processtransformation/structures.rb', line 96

def initialize(id)
  @container = true
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



94
95
96
# File 'lib/cpee/processtransformation/structures.rb', line 94

def id
  @id
end

Instance Method Details

#condition?Boolean

Returns:

  • (Boolean)


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

def condition?; false; end