Class: EffectiveDatatables::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- EffectiveDatatables::Generators::InstallGenerator
- Defined in:
- lib/generators/effective_datatables/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer ⇒ Object
8 9 10 |
# File 'lib/generators/effective_datatables/install_generator.rb', line 8 def copy_initializer template ('../' * 3) + 'config/effective_datatables.rb', 'config/initializers/effective_datatables.rb' end |