Class: Spec

Inherits:
Object show all
Defined in:
lib/puppet/vendor/pathspec/lib/pathspec/spec.rb

Direct Known Subclasses

RegexSpec

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*_) ⇒ Spec


4
5
# File 'lib/puppet/vendor/pathspec/lib/pathspec/spec.rb', line 4

def initialize(*_)
end

Instance Attribute Details

#regexObject (readonly)

Returns the value of attribute regex


2
3
4
# File 'lib/puppet/vendor/pathspec/lib/pathspec/spec.rb', line 2

def regex
  @regex
end

Instance Method Details

#inclusive?Boolean


11
12
13
# File 'lib/puppet/vendor/pathspec/lib/pathspec/spec.rb', line 11

def inclusive?
  true
end

#match(files) ⇒ Object


7
8
9
# File 'lib/puppet/vendor/pathspec/lib/pathspec/spec.rb', line 7

def match(files)
  raise "Unimplemented"
end