Class: Expressir::Model::Literals::Integer
- Inherits:
-
Expressir::Model::Literal
- Object
- ModelElement
- Expressir::Model::Literal
- Expressir::Model::Literals::Integer
- Defined in:
- lib/expressir/model/literals/integer.rb
Overview
Specified in ISO 10303-11:2004
-
section 7.5.2 Integer literal
Instance Attribute Summary collapse
Attributes inherited from ModelElement
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Integer
constructor
A new instance of Integer.
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 = {}) ⇒ Integer
Returns a new instance of Integer.
11 12 13 14 15 |
# File 'lib/expressir/model/literals/integer.rb', line 11 def initialize( = {}) @value = [:value] super end |
Instance Attribute Details
#value ⇒ ::String
7 |
# File 'lib/expressir/model/literals/integer.rb', line 7 model_attr_accessor :value, '::String' |