Sha256: f2d92c26120b4668769f5481a365064e9142be5a1d8cd27fabdea47a0f6b1c3f
Contents?: true
Size: 648 Bytes
Versions: 20
Compression:
Stored size: 648 Bytes
Contents
module Bootswitch class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) require File.expand_path('../../utils', __FILE__) include Generators::Utils def hello output "Welcome to the Bootswitch gem's installation process.", :magenta end # all public methods in here will be run in order def install_initializer output "This installs a basic initializer where you can set the method that stores the name of the bootswatch bootswatch to be displayed.", :magenta template "initializer.rb", "config/initializers/bootswitch.rb" end end end
Version data entries
20 entries across 20 versions & 1 rubygems