Class: Bootstrap::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Bootstrap::Generators::InstallGenerator
- Defined in:
- lib/generators/bootstrap/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#load_bootstrap ⇒ Object
8 9 10 11 |
# 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 |