Class: I18nDocs::Generators::CopyMasterGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- I18nDocs::Generators::CopyMasterGenerator
- Includes:
- LocalchI18n::Util
- Defined in:
- lib/generators/i18n_docs/copy_master_generator.rb
Instance Attribute Summary
Attributes included from LocalchI18n::Util
Instance Method Summary collapse
Methods included from LocalchI18n::Util
#flatten_translations_hash, #load_translations_for, #row_to_hash
Instance Method Details
#main_flow ⇒ Object
19 20 21 22 |
# File 'lib/generators/i18n_docs/copy_master_generator.rb', line 19 def main_flow check_translate_key if [:auto_translate] copy_master master_locale end |