Class: Vigiles::Generators::InitializerGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



15
16
17
18
19
# File 'lib/generators/vigiles/initializer_generator.rb', line 15

def copy_initializer_file
  copy_file \
    "initializer.rb",
    "config/initializers/vigiles.rb"
end