class PathSpec::Spec

Abstract spec

Attributes

pattern[R]
regex[R]

Public Class Methods

new(*_) click to toggle source
# File lib/pathspec/spec.rb, line 7
def initialize(*_); end

Public Instance Methods

inclusive?() click to toggle source
# File lib/pathspec/spec.rb, line 13
def inclusive?
  true
end
match(files) click to toggle source
# File lib/pathspec/spec.rb, line 9
def match(files)
  raise 'Unimplemented'
end
to_s() click to toggle source
# File lib/pathspec/spec.rb, line 17
def to_s
  @pattern
end