Class: LokaliseRails::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- LokaliseRails::Generators::InstallGenerator
- Defined in:
- lib/generators/lokalise_rails/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
12 13 14 |
# File 'lib/generators/lokalise_rails/install_generator.rb', line 12 def copy_config template 'lokalise_rails_config.rb', "#{Rails.root}/config/initializers/lokalise_rails.rb" end |