Class: Brine::Selecting::AllSelector

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

Overview

A Selector which will test whether all 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



93
94
95
# File 'lib/brine/selecting.rb', line 93

def filter_matcher(matcher)
  all(matcher)
end