Class: Langulator::AggregateTranslation
Instance Attribute Summary collapse
Attributes inherited from Translation
#location
Instance Method Summary
collapse
Methods inherited from Translation
#filename, #initialize, #path, #read, #translations, #write
Instance Attribute Details
#individual_translations ⇒ Object
14
15
16
|
# File 'lib/langulator/aggregate_translation.rb', line 14
def individual_translations
@individual_translations ||=
end
|
Instance Method Details
#decompile ⇒ Object
10
11
12
|
# File 'lib/langulator/aggregate_translation.rb', line 10
def decompile
individual_translations.each(&:write)
end
|
#languages ⇒ Object
6
7
8
|
# File 'lib/langulator/aggregate_translation.rb', line 6
def languages
@languages ||= detect_languages
end
|