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.



99
100
101
102
# File 'lib/cpee/processtransformation/structures.rb', line 99

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

Instance Method Details

#condition?Boolean

Returns:

  • (Boolean)


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

def condition?; false; end