| Class | StructuredWarnings::Test::Warner |
| In: |
lib/structured_warnings/test/warner.rb
|
| Parent: | StructuredWarnings::Warner |
This warner is used in Assertions#assert_warn and Assertions#assert_no_warn blocks. It captures all warnings in format and provides access to them using the warned? method.
Overrides the public interface of StructuredWarnings::Warner. This method always returns nil to avoid warnings on stdout during assert_warn and assert_no_warn blocks.