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 |
# File 'lib/generators/customizable_bootstrap/install/install_generator.rb', line 12 def copy_template_files output "This installs sass variable files you can modify to customize the appearance of your Bootstrap installation.", :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/spacing.css.scss", "app/assets/stylesheets/customizable_bootstrap/spacing.css.scss" template "stylesheets/index.css.scss", "app/assets/stylesheets/customizable_bootstrap/index.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 |