Sha256: a42c4702d90dac1dfd762c6dd3971d5ad5a5b7ef648fe555e57a2ac894509e59
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true module Rubysmith module Builders # Builds project skeleton Reek code quality support. class Reek def self.call(configuration, builder: Builder) = new(configuration, builder: builder).call def initialize configuration, builder: Builder @configuration = configuration @builder = builder end def call return unless configuration.build_reek builder.call(configuration.with(template_path: "%project_name%/.reek.yml.erb")).render end private attr_reader :configuration, :builder end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-0.11.0 | lib/rubysmith/builders/reek.rb |
rubysmith-0.10.0 | lib/rubysmith/builders/reek.rb |