class SimpleForm::Generators::InstallGenerator
def copy_config
def copy_config directory 'config' end
def copy_scaffold_template
def copy_scaffold_template engine = options[:template_engine] copy_file "_form.html.#{engine}", "lib/templates/#{engine}/scaffold/_form.html.#{engine}" end
def info_bootstrap
def info_bootstrap return if options.bootstrap? puts "SimpleForm 2 supports Twitter bootstrap. In case you want to " \ "generate bootstrap configuration, please re-run this " \ "generator passing --bootstrap as option." end
def show_readme
def show_readme if behavior == :invoke && options.bootstrap? readme "README" end end