Method: Brine::Selecting::Selector#initialize
- Defined in:
- lib/brine/selecting.rb
#initialize(target, negated = false) ⇒ Selector
Construct a selector to perform assertions against a provided target.
42 43 44 45 |
# File 'lib/brine/selecting.rb', line 42 def initialize(target, negated=false) @target = target @negated = negated end |