Class: PuppetCatalogTest::Filter
- Inherits:
-
Object
- Object
- PuppetCatalogTest::Filter
- Defined in:
- lib/puppet-catalog-test/filter.rb
Instance Attribute Summary collapse
-
#exclude_pattern ⇒ Object
Returns the value of attribute exclude_pattern.
-
#include_pattern ⇒ Object
Returns the value of attribute include_pattern.
Instance Method Summary collapse
-
#initialize(include_pattern = DEFAULT_FILTER, exclude_pattern = nil) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize(include_pattern = DEFAULT_FILTER, exclude_pattern = nil) ⇒ Filter
Returns a new instance of Filter.
5 6 7 8 |
# File 'lib/puppet-catalog-test/filter.rb', line 5 def initialize(include_pattern = DEFAULT_FILTER, exclude_pattern = nil) @include_pattern = include_pattern @exclude_pattern = exclude_pattern end |
Instance Attribute Details
#exclude_pattern ⇒ Object
Returns the value of attribute exclude_pattern.
3 4 5 |
# File 'lib/puppet-catalog-test/filter.rb', line 3 def exclude_pattern @exclude_pattern end |
#include_pattern ⇒ Object
Returns the value of attribute include_pattern.
3 4 5 |
# File 'lib/puppet-catalog-test/filter.rb', line 3 def include_pattern @include_pattern end |