class PathSpec::Spec

Abstract spec

Attributes

pattern[R]
regex[R]

Public Class Methods

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

Public Instance Methods

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