Class: Ahoy::Stores::Generators::CustomGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/ahoy/stores/custom_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_initializerObject



9
10
11
# File 'lib/generators/ahoy/stores/custom_generator.rb', line 9

def create_initializer
  template "custom_initializer.rb", "config/initializers/ahoy.rb"
end