Class: Bootstrap::Generators::CdnGenerator

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

Overview

Prints the jsDelivr tags for pasting into a layout the user already owns. Writes nothing to disk.

Instance Method Summary collapse

Methods included from CdnTags

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

Instance Method Details



21
22
23
# File 'lib/generators/bootstrap/cdn/cdn_generator.rb', line 21

def print_tags
  say tags.join("\n")
end