Class: OpenEHR::RM::DataTypes::Encapsulated::DvEncapsulated
- Inherits:
-
Basic::DataValue
- Object
- Basic::DataValue
- OpenEHR::RM::DataTypes::Encapsulated::DvEncapsulated
- Defined in:
- lib/open_ehr/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.
14 15 16 17 18 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 14 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.
12 13 14 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 12 def charset @charset end |
#language ⇒ Object
Returns the value of attribute language.
12 13 14 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 12 def language @language end |
Instance Method Details
#size ⇒ Object
20 21 22 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 20 def size @value.size end |