Class: CPEE::Transformation::Branch
- Inherits:
-
Array
- Object
- Array
- CPEE::Transformation::Branch
- Includes:
- Container
- Defined in:
- lib/cpee/transformation/structures.rb
Overview
}}}
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #condition? ⇒ Boolean
-
#initialize(id) ⇒ Branch
constructor
A new instance of Branch.
Methods included from 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
#id ⇒ Object (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
110 |
# File 'lib/cpee/transformation/structures.rb', line 110 def condition?; false; end |