Class: BootstrapLeather::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Generators::Utils, Rails::Generators::Migration
Defined in:
lib/generators/bootstrap_leather/install/install_generator.rb

Overview

The methods in this class will be run in order

Instance Method Summary collapse

Methods included from Generators::Utils

#ask_for, #output

Instance Method Details

#add_initializerObject



11
12
13
14
15
# File 'lib/generators/bootstrap_leather/install/install_generator.rb', line 11

def add_initializer
  output "You'll be wanting an initializer.  This is where you put your "\
    'configuration options.', :magenta
  template 'initializer.rb', 'config/initializers/bootstrap_leather.rb'
end