class method
Exception.to_tty?
() -> bool
Exception.to_tty? → true or false
error.c
View on GitHub ↗
static VALUE
exc_s_to_tty_p(VALUE self)
{
return RBOOL(rb_stderr_tty_p());
}
Returns true if exception messages will be sent to a terminal device.