Class: Majestic::Api::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- Majestic::Api::Generators::InstallGenerator
- Includes:
- Rails::Generators::ResourceHelpers
- Defined in:
- lib/generators/majestic/api/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_initializer_file ⇒ Object
15 16 17 |
# File 'lib/generators/majestic/api/install_generator.rb', line 15 def copy_initializer_file copy_file "config.rb", "config/initializers/majestic_api.rb" end |