Class: Expressir::Model::Statements::ProcedureCall
- Inherits:
-
Expressir::Model::Statement
- Object
- ModelElement
- Expressir::Model::Statement
- Expressir::Model::Statements::ProcedureCall
- Defined in:
- lib/expressir/model/statements/procedure_call.rb
Overview
Specified in ISO 10303-11:2004
-
section 13.8 Procedure call statement
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ProcedureCall
constructor
A new instance of ProcedureCall.
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 = {}) ⇒ ProcedureCall
Returns a new instance of ProcedureCall.
13 14 15 16 17 18 |
# File 'lib/expressir/model/statements/procedure_call.rb', line 13 def initialize( = {}) @procedure = [:procedure] @parameters = [:parameters] || [] super end |
Instance Attribute Details
#parameters ⇒ Array<Expression>
8 |
# File 'lib/expressir/model/statements/procedure_call.rb', line 8 model_attr_accessor :parameters, 'Array<Expression>' |
#procedure ⇒ Reference
7 |
# File 'lib/expressir/model/statements/procedure_call.rb', line 7 model_attr_accessor :procedure, 'Reference' |