Sha256: 1fe27cd06cac4fa4866029c143496334101a093dcb7a89d901f448733ff4f6f9

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 Bytes

Contents

require "rails/generators"

module Hypershield
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.join(__dir__, "templates")

      def create_initializer
        template "initializer.rb", "config/initializers/hypershield.rb"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hypershield-0.4.0 lib/generators/hypershield/install_generator.rb
hypershield-0.3.1 lib/generators/hypershield/install_generator.rb
hypershield-0.3.0 lib/generators/hypershield/install_generator.rb
hypershield-0.2.2 lib/generators/hypershield/install_generator.rb
hypershield-0.2.1 lib/generators/hypershield/install_generator.rb
hypershield-0.2.0 lib/generators/hypershield/install_generator.rb