Class: OpenEHR::Parser::ADLGrammar::Language
- Inherits:
-
Object
- Object
- OpenEHR::Parser::ADLGrammar::Language
- Includes:
- RM::DataTypes::Text
- Defined in:
- lib/open_ehr/parser/adl.rb
Instance Attribute Summary collapse
-
#original_language ⇒ Object
Returns the value of attribute original_language.
-
#translations ⇒ Object
Returns the value of attribute translations.
Instance Method Summary collapse
-
#initialize(value) ⇒ Language
constructor
A new instance of Language.
Constructor Details
#initialize(value) ⇒ Language
Returns a new instance of Language.
22 23 24 25 |
# File 'lib/open_ehr/parser/adl.rb', line 22 def initialize(value) self.original_language = value['original_language'] self.translations = value['translations'] end |
Instance Attribute Details
#original_language ⇒ Object
Returns the value of attribute original_language.
20 21 22 |
# File 'lib/open_ehr/parser/adl.rb', line 20 def original_language @original_language end |
#translations ⇒ Object
Returns the value of attribute translations.
20 21 22 |
# File 'lib/open_ehr/parser/adl.rb', line 20 def translations @translations end |