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