Module: Reek::Configuration::ExcludedPaths
- Includes:
- ConfigurationValidator
- Defined in:
- lib/reek/configuration/excluded_paths.rb
Overview
Array extension for excluded paths.
Instance Method Summary collapse
Methods included from ConfigurationValidator
#key_to_smell_detector, #smell_type?, #with_valid_directory
Instance Method Details
#add(paths) ⇒ undefined
16 17 18 19 |
# File 'lib/reek/configuration/excluded_paths.rb', line 16 def add(paths) paths.flat_map { |path| Dir[path] }. each { |path| self << Pathname(path) } end |