Class: DbLogTag::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/db_log_tag/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializerObject



8
9
10
# File 'lib/rails/generators/db_log_tag/install_generator.rb', line 8

def create_initializer
  copy_file "initializer.rb", "config/initializers/db_log_tag.rb"
end