Class: Expressir::Model::DataTypes::Real
- Inherits:
-
Expressir::Model::DataType
- Object
- ModelElement
- Expressir::Model::DataType
- Expressir::Model::DataTypes::Real
- Defined in:
- lib/expressir/model/data_types/real.rb
Overview
Specified in ISO 10303-11:2004
-
section 8.1.2 Real data type
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Real
constructor
A new instance of Real.
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 = {}) ⇒ Real
Returns a new instance of Real.
11 12 13 14 15 |
# File 'lib/expressir/model/data_types/real.rb', line 11 def initialize( = {}) @precision = [:precision] super end |
Instance Attribute Details
#precision ⇒ Expression
7 |
# File 'lib/expressir/model/data_types/real.rb', line 7 model_attr_accessor :precision, 'Expression' |