Class: HerokuExternalDb::Generator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- HerokuExternalDb::Generator
- Defined in:
- lib/generators/heroku_external_db/heroku_external_db_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_initializer_file ⇒ Object
4 5 6 |
# File 'lib/generators/heroku_external_db/heroku_external_db_generator.rb', line 4 def create_initializer_file copy_file "initializer.rb", "config/initializers/heroku_external_db.rb" end |