Class: Spec
Direct Known Subclasses
Instance Attribute Summary collapse
-
#regex ⇒ Object
readonly
Returns the value of attribute regex.
Instance Method Summary collapse
- #inclusive? ⇒ Boolean
-
#initialize(*_) ⇒ Spec
constructor
A new instance of Spec.
- #match(files) ⇒ Object
Constructor Details
Instance Attribute Details
#regex ⇒ Object (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 |