Class: Yesno::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/yesno/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#installObject



6
7
8
9
10
# File 'lib/generators/yesno/install_generator.rb', line 6

def install
  copy_file "../../../../config/locales/it.yml", "config/locales/yesno.it.yml"
  copy_file "../../../../config/locales/en.yml", "config/locales/yesno.en.yml"
  copy_file "../../../../config/locales/fr.yml", "config/locales/yesno.fr.yml"
end