Class: OpenEHR::Parser::ADLGrammar::Language

Inherits:
Object
  • Object
show all
Includes:
RM::DataTypes::Text
Defined in:
lib/open_ehr/parser/adl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_languageObject

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

#translationsObject

Returns the value of attribute translations.



20
21
22
# File 'lib/open_ehr/parser/adl.rb', line 20

def translations
  @translations
end