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