Class: Brine::Selecting::AnySelector

Inherits:
Selector
  • Object
show all
Defined in:
lib/brine/selecting.rb

Overview

A Selector which will test whether any of the children of the targeted value satisfy the assertion.

Instance Attribute Summary

Attributes inherited from Selector

#coercer

Instance Method Summary collapse

Methods inherited from Selector

#assert_that, #initialize

Constructor Details

This class inherits a constructor from Brine::Selecting::Selector

Instance Method Details

#filter_matcher(matcher) ⇒ Object



84
85
86
# File 'lib/brine/selecting.rb', line 84

def filter_matcher(matcher)
  include(matcher)
end