Class: Expressir::Model::Statements::Compound
- Inherits:
-
Expressir::Model::Statement
- Object
- ModelElement
- Expressir::Model::Statement
- Expressir::Model::Statements::Compound
- Defined in:
- lib/expressir/model/statements/compound.rb
Overview
Specified in ISO 10303-11:2004
-
section 13.5 Compound statement
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Compound
constructor
A new instance of Compound.
Methods inherited from ModelElement
#children, #children_by_id, #find, from_hash, model_attr_accessor, model_attrs, #path, #reset_children_by_id, #to_hash, #to_liquid, #to_s
Constructor Details
#initialize(options = {}) ⇒ Compound
Returns a new instance of Compound.
11 12 13 14 15 |
# File 'lib/expressir/model/statements/compound.rb', line 11 def initialize( = {}) @statements = [:statements] || [] super end |
Instance Attribute Details
#statements ⇒ Array<Statement>
7 |
# File 'lib/expressir/model/statements/compound.rb', line 7 model_attr_accessor :statements, 'Array<Statement>' |