Method: NoMethodError#private_call?

Defined in:
error.c

#private_call?Boolean

Return true if the caused method was called as private.

Returns:

  • (Boolean)


2776
2777
2778
2779
2780
# File 'error.c', line 2776

static VALUE
nometh_err_private_call_p(VALUE self)
{
    return rb_attr_get(self, id_private_call_p);
}