Class: I18nDocs::Generators::CopyMasterGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
LocalchI18n::Util
Defined in:
lib/generators/i18n_docs/copy_master_generator.rb

Instance Attribute Summary

Attributes included from LocalchI18n::Util

#translator

Instance Method Summary collapse

Methods included from LocalchI18n::Util

#flatten_translations_hash, #load_translations_for, #row_to_hash

Instance Method Details

#main_flowObject



19
20
21
22
# File 'lib/generators/i18n_docs/copy_master_generator.rb', line 19

def main_flow        
  check_translate_key if options[:auto_translate]
  copy_master master_locale
end