Class: ChefSpec::Coverage::Filter
- Inherits:
-
Object
- Object
- ChefSpec::Coverage::Filter
- Defined in:
- lib/chefspec/coverage/filters.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(filter) ⇒ Filter
constructor
A new instance of Filter.
- #matches? ⇒ Boolean
Constructor Details
#initialize(filter) ⇒ Filter
Returns a new instance of Filter.
4 5 6 |
# File 'lib/chefspec/coverage/filters.rb', line 4 def initialize(filter) @filter = filter end |
Instance Method Details
#matches? ⇒ Boolean
8 9 10 |
# File 'lib/chefspec/coverage/filters.rb', line 8 def matches? raise "Must override Filter#matches?" end |