Class: Bootstrap::Generators::StarterGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
CdnTags
Defined in:
lib/generators/bootstrap/starter/starter_generator.rb

Overview

Instance Method Summary collapse

Methods included from CdnTags

#bundle_tag, #css_tag, #js_tag, #popper_tag, #separate_popper_tags

Instance Method Details

#create_starter_templateObject



20
21
22
# File 'lib/generators/bootstrap/starter/starter_generator.rb', line 20

def create_starter_template
  template "starter.html.erb", options[:path]
end

#reportObject



24
25
26
# File 'lib/generators/bootstrap/starter/starter_generator.rb', line 24

def report
  say "Open #{options[:path]} in a browser to check your Bootstrap setup."
end