Class: ChefSpec::Coverage::BlockFilter
- Defined in:
- lib/chefspec/coverage/filters.rb
Overview
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
43 44 45 46 47 |
# File 'lib/chefspec/coverage/filters.rb', line 43 def matches?(resource) return true if resource.source_line.nil? @filter.call(resource) end |