# File lib/scrubyt/core/scraping/filters/base_filter.rb, line 80 def initialize(parent_pattern, example) case parent_pattern.example_type when :xpath @example_type = EXAMPLE_TYPE_XPATH else @example_type = BaseFilter.determine_example_type(example) end @parent_pattern = parent_pattern @example = example @xpath = nil #The xpath to evaluate this filter @constraints = [] #list of constraints end