Sha256: 154ff8ddfbdbcb720902ca76b996a38290af35588785dd0c2cdfd0ef045265c5

Contents?: true

Size: 417 Bytes

Versions: 17

Compression:

Stored size: 417 Bytes

Contents

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

17 entries across 17 versions & 1 rubygems

Version Path
reek-3.11 lib/reek/configuration/excluded_paths.rb
reek-3.10.2 lib/reek/configuration/excluded_paths.rb
reek-3.10.1 lib/reek/configuration/excluded_paths.rb
reek-3.10.0 lib/reek/configuration/excluded_paths.rb
reek-3.9.1 lib/reek/configuration/excluded_paths.rb
reek-3.9.0 lib/reek/configuration/excluded_paths.rb
reek-3.8.3 lib/reek/configuration/excluded_paths.rb
reek-3.8.2 lib/reek/configuration/excluded_paths.rb
reek-3.8.1 lib/reek/configuration/excluded_paths.rb
reek-3.8.0 lib/reek/configuration/excluded_paths.rb
reek-3.7.1 lib/reek/configuration/excluded_paths.rb
reek-3.7.0 lib/reek/configuration/excluded_paths.rb
reek-3.6.1 lib/reek/configuration/excluded_paths.rb
reek-3.6.0 lib/reek/configuration/excluded_paths.rb
reek-3.5.0 lib/reek/configuration/excluded_paths.rb
reek-3.4.1 lib/reek/configuration/excluded_paths.rb
reek-3.4.0 lib/reek/configuration/excluded_paths.rb