Sha256: aa72ab4e6d44ab45ab3e41427556fc7245cd68d07c12bc577f58961489e2cf66

Contents?: true

Size: 436 Bytes

Versions: 15

Compression:

Stored size: 436 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.each { |path| self << Pathname(path) }
      end
    end
  end
end

Version data entries

15 entries across 13 versions & 2 rubygems

Version Path
reek-6.0.2 lib/reek/configuration/excluded_paths.rb
reek-6.0.1 lib/reek/configuration/excluded_paths.rb
reek-6.0.0 lib/reek/configuration/excluded_paths.rb
reek-5.6.0 lib/reek/configuration/excluded_paths.rb
reek-5.5.0 lib/reek/configuration/excluded_paths.rb
reek-5.4.1 lib/reek/configuration/excluded_paths.rb
reek-5.4.0 lib/reek/configuration/excluded_paths.rb
reek-5.3.2 lib/reek/configuration/excluded_paths.rb
reek-5.3.1 lib/reek/configuration/excluded_paths.rb
reek-5.3.0 lib/reek/configuration/excluded_paths.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/configuration/excluded_paths.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/configuration/excluded_paths.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/configuration/excluded_paths.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/reek-5.2.0/lib/reek/configuration/excluded_paths.rb
reek-5.2.0 lib/reek/configuration/excluded_paths.rb