Sha256: 80e3a5a77a3d28cacb7340399d88211b2871105f0f6532258b6fde3ead211ed4

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

module Axel
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)
      desc "Creates a Axel initializer."

      def copy_initializer
        template "axel.rb", "config/initializers/axel.rb"
      end

      def show_readme
        readme "README.md" if behavior == :invoke
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axel-0.0.1 lib/generators/axel/install_generator.rb