Class: Expressir::Model::DataTypes::Array
Overview
Specified in ISO 10303-11:2004
Instance Attribute Summary collapse
Attributes inherited from ModelElement
#parent
Instance Method Summary
collapse
#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 = {}) ⇒ Array
Returns a new instance of Array.
19
20
21
22
23
24
25
26
27
|
# File 'lib/expressir/model/data_types/array.rb', line 19
def initialize(options = {})
@bound1 = options[:bound1]
@bound2 = options[:bound2]
@optional = options[:optional]
@unique = options[:unique]
@base_type = options[:base_type]
super
end
|
Instance Attribute Details
11
|
# File 'lib/expressir/model/data_types/array.rb', line 11
model_attr_accessor :base_type, 'DataType'
|
7
|
# File 'lib/expressir/model/data_types/array.rb', line 7
model_attr_accessor :bound1, 'Expression'
|
8
|
# File 'lib/expressir/model/data_types/array.rb', line 8
model_attr_accessor :bound2, 'Expression'
|
#optional ⇒ ::Boolean
9
|
# File 'lib/expressir/model/data_types/array.rb', line 9
model_attr_accessor :optional, '::Boolean'
|
#unique ⇒ ::Boolean
10
|
# File 'lib/expressir/model/data_types/array.rb', line 10
model_attr_accessor :unique, '::Boolean'
|