class Bootstrap::Generators::InstallGenerator

Public Instance Methods

load_bootstrap() click to toggle source
# File lib/generators/bootstrap/install/install_generator.rb, line 8
def load_bootstrap
  inject_into_file "app/assets/javascripts/application.js", "//= require bootstrap\n", before:  "//= require_tree"
  inject_into_file 'app/assets/stylesheets/application.css', "*= require bootstrap\n", before: "*= require_self"
end