Class: EffectiveStyleGuide::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



7
8
9
# File 'lib/generators/effective_style_guide/install_generator.rb', line 7

def copy_initializer
  template ('../' * 3) + 'config/effective_style_guide.rb', 'config/initializers/effective_style_guide.rb'
end