Sha256: 643971412452b4b6028462e07b9549232d56842c92ec8ecaa1d0d11a49b98670

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require_relative './configuration_validator'

module Reek
  module Configuration
    #
    # Hash extension for excluded paths.
    #
    module ExcludedPaths
      include ConfigurationValidator

      def add(paths)
        paths.each do |path|
          with_valid_directory(path) { |directory| self << directory }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reek-3.3.1 lib/reek/configuration/excluded_paths.rb
reek-3.3.0 lib/reek/configuration/excluded_paths.rb