Class: CPEE::Transformation::Branch

Inherits:
Array
  • Object
show all
Includes:
Container
Defined in:
lib/cpee/transformation/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.



111
112
113
114
# File 'lib/cpee/transformation/structures.rb', line 111

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



109
110
111
# File 'lib/cpee/transformation/structures.rb', line 109

def id
  @id
end

Instance Method Details

#condition?Boolean

Returns:

  • (Boolean)


110
# File 'lib/cpee/transformation/structures.rb', line 110

def condition?; false; end