Class: Niceql::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject


7
8
9
10
11
# File 'lib/generators/niceql/install_generator.rb', line 7

def copy_initializer
  template "niceql_initializer.rb", "config/initializers/niceql.rb"

  puts "Install complete!"
end