End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
NoMatchingPatternKeyError#matchee
no_matching_pattern_key_error.matchee → object
error.c
View on GitHub ↗
static VALUE
no_matching_pattern_key_err_matchee(VALUE self)
{
VALUE matchee;
matchee = rb_ivar_lookup(self, id_matchee, Qundef);
if (matchee != Qundef) return matchee;
rb_raise(rb_eArgError, "no matchee is available");
}
Return the matchee associated with this NoMatchingPatternKeyError exception.