class Easytest::Matcher::Raise
Attributes
with_message
[R]
(String | Regexp)?
Public Class Methods
(actual: Proc, expected: untyped, negate: bool, with_message: (String | Regexp)?) → void
Source
# File sig/_internal/easytest/matcher/raise.rbs, line 8
def initialize: (actual: Proc, expected: untyped, negate: bool, with_message: (String | Regexp)?) -> void
Public Instance Methods
(Exception error) → bool
Source
# File sig/_internal/easytest/matcher/raise.rbs, line 12
def match_error?: (Exception error) -> bool