Class: OpenEHR::AQL::Model::Literal
- Inherits:
-
Object
- Object
- OpenEHR::AQL::Model::Literal
- Defined in:
- lib/openehr/aql/model/literal.rb
Overview
primitive : STRING | numericPrimitive | DATE | TIME | DATETIME | BOOLEAN | NULL ;
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value:) ⇒ Literal
constructor
A new instance of Literal.
Constructor Details
#initialize(value:) ⇒ Literal
Returns a new instance of Literal.
8 9 10 11 |
# File 'lib/openehr/aql/model/literal.rb', line 8 def initialize(value:) @value = value freeze end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
6 7 8 |
# File 'lib/openehr/aql/model/literal.rb', line 6 def value @value end |