Sha256: fe0c24eb757a9747d01ea3432005107360c5a12ea8e61f9fe0197572ca8dab4d

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module Gemsmith
  module Generators
    # Generates Reek support.
    class Reek < Base
      def run
        return unless configuration.dig(:generate, :reek)
        cli.template "%gem_name%/lib/tasks/reek.rake.tt", configuration
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gemsmith-8.1.0 lib/gemsmith/generators/reek.rb
gemsmith-8.0.0 lib/gemsmith/generators/reek.rb