Sha256: fed401b3a00e87e6f4f8b5b51be63f4ffa618d50e8a9e7b9b306e87fb9940a0f

Contents?: true

Size: 397 Bytes

Versions: 4

Compression:

Stored size: 397 Bytes

Contents

module Corkboard
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)
      desc "Installs Corkboard."
  
      def install_initializer
        template "initializer.rb", "config/initializers/corkboard.rb"
      end
  
      def show_readme
        readme "README" if behavior == :invoke
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
corkboard-0.1.3 lib/generators/corkboard/install_generator.rb
corkboard-0.1.2 lib/generators/corkboard/install_generator.rb
corkboard-0.1.1 lib/generators/corkboard/install_generator.rb
corkboard-0.1.0 lib/generators/corkboard/install_generator.rb