Class: Expressir::Model::Expressions::Interval
Overview
Specified in ISO 10303-11:2004
Constant Summary
collapse
- LESS_THAN =
:LESS_THAN
- LESS_THAN_OR_EQUAL =
:LESS_THAN_OR_EQUAL
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 = {}) ⇒ Interval
Returns a new instance of Interval.
22
23
24
25
26
27
28
29
30
|
# File 'lib/expressir/model/expressions/interval.rb', line 22
def initialize(options = {})
@low = options[:low]
@operator1 = options[:operator1]
@item = options[:item]
@operator2 = options[:operator2]
@high = options[:high]
super
end
|
Instance Attribute Details
14
|
# File 'lib/expressir/model/expressions/interval.rb', line 14
model_attr_accessor :high, "Expression"
|
12
|
# File 'lib/expressir/model/expressions/interval.rb', line 12
model_attr_accessor :item, "Reference"
|
10
|
# File 'lib/expressir/model/expressions/interval.rb', line 10
model_attr_accessor :low, "Expression"
|
#operator1 ⇒ :LESS_THAN, :LESS_THAN_OR_EQUAL
11
|
# File 'lib/expressir/model/expressions/interval.rb', line 11
model_attr_accessor :operator1, ":LESS_THAN, :LESS_THAN_OR_EQUAL"
|
#operator2 ⇒ :LESS_THAN, :LESS_THAN_OR_EQUAL
13
|
# File 'lib/expressir/model/expressions/interval.rb', line 13
model_attr_accessor :operator2, ":LESS_THAN, :LESS_THAN_OR_EQUAL"
|