Class: HerokuExternalDb::Generator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/heroku_external_db/heroku_external_db_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializer_fileObject



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