Method: PathSpec::RegexSpec#match

Defined in:
lib/pathspec/regexspec.rb

#match(path) ⇒ Object



19
20
21
# File 'lib/pathspec/regexspec.rb', line 19

def match(path)
  @regex&.match(path)
end