Class: ButtonsFor::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ButtonsFor::Generators::InstallGenerator
- Defined in:
- lib/generators/buttons_for/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_translations ⇒ Object
8 9 10 |
# File 'lib/generators/buttons_for/install_generator.rb', line 8 def copy_translations copy_file "buttons_for.en.yml", "config/locales/buttons_for.en.yml" end |