Sha256: 3bb60aa66eace8fd150a65326d21824104f2e40960b9df474eb4171cf0b5e41a
Contents?: true
Size: 555 Bytes
Versions: 6
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true module Rubysmith module Builders # Builds project skeleton Reek code quality support. class Reek def self.call(...) = new(...).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
6 entries across 6 versions & 1 rubygems