Sha256: 6e56c433cda5ba27f8a23fe47402694d5582730471caffcf8fc409305308fc31
Contents?: true
Size: 475 Bytes
Versions: 3
Compression:
Stored size: 475 Bytes
Contents
# frozen_string_literal: true require_relative 'configuration_validator' require_relative '../errors/config_file_error' module Reek module Configuration # # Array extension for excluded paths. # module ExcludedPaths include ConfigurationValidator # @param paths [String] # @return [undefined] def add(paths) paths.flat_map { |path| Dir[path] }. each { |path| self << Pathname(path) } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-6.4.0 | lib/reek/configuration/excluded_paths.rb |
reek-6.3.0 | lib/reek/configuration/excluded_paths.rb |
reek-6.2.0 | lib/reek/configuration/excluded_paths.rb |