Class: PuppetCatalogTest::Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet-catalog-test/filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_patternObject

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_patternObject

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