Class: Janus::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Janus::Generators::InstallGenerator
- Defined in:
- lib/generators/janus/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
10 11 12 |
# File 'lib/generators/janus/install_generator.rb', line 10 def copy_initializer template 'janus.rb', 'config/initializers/janus.rb' end |
#copy_locale ⇒ Object
14 15 16 |
# File 'lib/generators/janus/install_generator.rb', line 14 def copy_locale template 'janus.en.yml', 'config/locales/janus.en.yml' end |