Class: Knock::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject


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

def copy_initializer
  template 'knock.rb', 'config/initializers/knock.rb'
end