Class: ChefSpec::Coverage::RegexpFilter
- Defined in:
- lib/chefspec/coverage/filters.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Filter
Constructor Details
This class inherits a constructor from ChefSpec::Coverage::Filter
Instance Method Details
#matches?(resource) ⇒ Boolean
18 19 20 21 22 |
# File 'lib/chefspec/coverage/filters.rb', line 18 def matches?(resource) return true if resource.source_line.nil? @filter =~ resource.source_line end |