Method: DevSuite::Utils::PathMatcher.match?

Defined in:
lib/dev_suite/utils/path_matcher/path_matcher.rb

.match?(path, includes: [], excludes: []) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
13
# File 'lib/dev_suite/utils/path_matcher/path_matcher.rb', line 10

def match?(path, includes: [], excludes: [])
  matcher = Matcher.new(includes: includes, excludes: excludes)
  matcher.match?(path)
end