Class: Brine::Selecting::AnySelector

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

Overview

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

Constant Summary

Constants included from ParameterTransforming

ParameterTransforming::DATE, ParameterTransforming::MILLIS, ParameterTransforming::TIME, ParameterTransforming::TZ

Instance Attribute Summary

Attributes inherited from Selector

#coercer

Instance Method Summary collapse

Methods inherited from Selector

#assert_that, #initialize

Methods included from ParameterTransforming

#expand, #parameter_transformers, #transformed_parameter

Constructor Details

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

Instance Method Details

#filter_matcher(matcher) ⇒ Object



88
89
90
# File 'lib/brine/selecting.rb', line 88

def filter_matcher(matcher)
  include(matcher)
end