Module: RSpec::Risky::Probe::OutputProbe::OutputMatcherPatch

Defined in:
lib/rspec/risky/probe/output_probe.rb

Instance Method Summary collapse

Instance Method Details

#does_not_match?(block) ⇒ Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/rspec/risky/probe/output_probe.rb', line 34

def does_not_match?(block)
  OutputProbe.with_capture_suppressed { super }
end

#matches?(block) ⇒ Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/rspec/risky/probe/output_probe.rb', line 30

def matches?(block)
  OutputProbe.with_capture_suppressed { super }
end