Method: Brine::Selecting#select_all

Defined in:
lib/brine/selecting.rb

#select_all(target, negated = nil) ⇒ Object

Activate a Selector for all of the children of the provided target.

Parameters:

  • target (Object)

    Provide the value which the Selector should target.

  • negated (Boolean) (defaults to: nil)

    Specify whether the assertions should be expected to fail (DEPRECATED).



128
129
130
# File 'lib/brine/selecting.rb', line 128

def select_all(target, negated=nil)
  use_selector(AllSelector.new(target, negated))
end