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

Version Path
bootswitch-0.6.0 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.5.4 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.5.3 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.5.2 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.5.1 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.5.0 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.4.0 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.3.0 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.2.2 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.2.1 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.2.0 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.1.3 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.1.2 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.1.1 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.13 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.12 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.11 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.9 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.8 lib/generators/bootswitch/install/install_generator.rb
bootswitch-0.0.7 lib/generators/bootswitch/install/install_generator.rb