Class: CustomizableBootstrap::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- CustomizableBootstrap::InstallGenerator
- Includes:
- Generators::Utils
- Defined in:
- lib/generators/customizable_bootstrap/install/install_generator.rb
Instance Method Summary collapse
-
#copy_template_files ⇒ Object
all public methods in here will be run in order.
- #hello ⇒ Object
Methods included from Generators::Utils
Instance Method Details
#copy_template_files ⇒ Object
all public methods in here will be run in order
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/generators/customizable_bootstrap/install/install_generator.rb', line 12 def copy_template_files output "What you need are some files to customize", :magenta template "stylesheets/colors.css.scss", "app/assets/stylesheets/customizable_bootstrap/colors.css.scss" template "stylesheets/font.css.scss", "app/assets/stylesheets/customizable_bootstrap/font.css.scss" template "stylesheets/grid.css.scss", "app/assets/stylesheets/customizable_bootstrap/grid.css.scss" template "stylesheets/index.css.scss", "app/assets/stylesheets/customizable_bootstrap/index.css.scss" template "stylesheets/layers.css.scss", "app/assets/stylesheets/customizable_bootstrap/layers.css.scss" template "stylesheets/overrides.css.scss", "app/assets/stylesheets/customizable_bootstrap/overrides.css.scss" template "javascripts/index.js", "app/assets/javascripts/customizable_bootstrap/index.js" end |
#hello ⇒ Object
7 8 9 |
# File 'lib/generators/customizable_bootstrap/install/install_generator.rb', line 7 def hello output "Welcome to the Customizable Bootstrap gem's installation process.", :magenta end |