Class: OpenEHR::RM::DataTypes::Encapsulated::DvEncapsulated
- Inherits:
-
Basic::DataValue
- Object
- Basic::DataValue
- OpenEHR::RM::DataTypes::Encapsulated::DvEncapsulated
- Defined in:
- lib/openehr/rm/data_types/encapsulated.rb
Direct Known Subclasses
Constant Summary
Constants included from Support::Definition::BasicDefinition
Support::Definition::BasicDefinition::CR, Support::Definition::BasicDefinition::LF
Instance Attribute Summary collapse
-
#charset ⇒ Object
Returns the value of attribute charset.
-
#language ⇒ Object
Returns the value of attribute language.
Attributes inherited from Basic::DataValue
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ DvEncapsulated
constructor
A new instance of DvEncapsulated.
- #size ⇒ Object
Methods inherited from Basic::DataValue
Constructor Details
#initialize(args = {}) ⇒ DvEncapsulated
Returns a new instance of DvEncapsulated.
15 16 17 18 19 |
# File 'lib/openehr/rm/data_types/encapsulated.rb', line 15 def initialize(args = {}) super(args) self.charset = args[:charset] self.language = args[:language] end |
Instance Attribute Details
#charset ⇒ Object
Returns the value of attribute charset.
13 14 15 |
# File 'lib/openehr/rm/data_types/encapsulated.rb', line 13 def charset @charset end |
#language ⇒ Object
Returns the value of attribute language.
13 14 15 |
# File 'lib/openehr/rm/data_types/encapsulated.rb', line 13 def language @language end |
Instance Method Details
#size ⇒ Object
21 22 23 |
# File 'lib/openehr/rm/data_types/encapsulated.rb', line 21 def size @value.size end |