Sha256: a5183eca5c4068493569c81ef80db03484e210b56fb0d31881ff8a2f466196a7

Contents?: true

Size: 447 Bytes

Versions: 28

Compression:

Stored size: 447 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

28 entries across 28 versions & 1 rubygems

Version Path
reek-4.6.1 lib/reek/configuration/excluded_paths.rb
reek-4.6.0 lib/reek/configuration/excluded_paths.rb
reek-4.5.6 lib/reek/configuration/excluded_paths.rb
reek-4.5.5 lib/reek/configuration/excluded_paths.rb
reek-4.5.4 lib/reek/configuration/excluded_paths.rb
reek-4.5.3 lib/reek/configuration/excluded_paths.rb
reek-4.5.2 lib/reek/configuration/excluded_paths.rb
reek-4.5.1 lib/reek/configuration/excluded_paths.rb
reek-4.5.0 lib/reek/configuration/excluded_paths.rb
reek-4.4.2 lib/reek/configuration/excluded_paths.rb
reek-4.4.1 lib/reek/configuration/excluded_paths.rb
reek-4.4.0 lib/reek/configuration/excluded_paths.rb
reek-4.3.0 lib/reek/configuration/excluded_paths.rb
reek-4.2.5 lib/reek/configuration/excluded_paths.rb
reek-4.2.4 lib/reek/configuration/excluded_paths.rb
reek-4.2.3 lib/reek/configuration/excluded_paths.rb
reek-4.2.2 lib/reek/configuration/excluded_paths.rb
reek-4.2.1 lib/reek/configuration/excluded_paths.rb
reek-4.2.0 lib/reek/configuration/excluded_paths.rb
reek-4.1.1 lib/reek/configuration/excluded_paths.rb