Class: RailsLiveDashboard::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- RailsLiveDashboard::InstallGenerator
- Defined in:
- lib/generators/rails_live_dashboard/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer_file ⇒ Object
7 8 9 |
# File 'lib/generators/rails_live_dashboard/install_generator.rb', line 7 def copy_initializer_file copy_file 'initializer.rb', Rails.root.join('config/initializers/rails_live_dashboard.rb') end |