Sha256: 78da7ec57c60f7a1f7779b1c0fd5df39b6d92d94a5795599048add4d4dfa4b43

Contents?: true

Size: 448 Bytes

Versions: 8

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require_relative './configuration_validator'

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

      # :reek:NestedIterators: { max_allowed_nesting: 2 }
      def add(paths)
        paths.each do |path|
          with_valid_directory(path) { |directory| self << directory }
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
reek-4.8.2 lib/reek/configuration/excluded_paths.rb
reek-4.8.1 lib/reek/configuration/excluded_paths.rb
reek-4.8.0 lib/reek/configuration/excluded_paths.rb
reek-4.7.3 lib/reek/configuration/excluded_paths.rb
reek-4.7.2 lib/reek/configuration/excluded_paths.rb
reek-4.7.1 lib/reek/configuration/excluded_paths.rb
reek-4.7.0 lib/reek/configuration/excluded_paths.rb
reek-4.6.2 lib/reek/configuration/excluded_paths.rb