Class: Expressir::Model::Literals::Real

Inherits:
Expressir::Model::Literal show all
Defined in:
lib/expressir/model/literals/real.rb

Overview

Specified in ISO 10303-11:2004

  • section 7.5.3 Real literal

Instance Attribute Summary

Attributes inherited from ModelElement

#parent

Instance Method Summary collapse

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.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):



11
12
13
14
15
# File 'lib/expressir/model/literals/real.rb', line 11

def initialize(options = {})
  @value = options[:value]

  super
end