Method: Exception.to_tty?

Defined in:
error.c

.to_tty?Boolean

Returns true if exception messages will be sent to a terminal device.

Returns:

  • (Boolean)


1619
1620
1621
1622
1623
# File 'error.c', line 1619

static VALUE
exc_s_to_tty_p(VALUE self)
{
    return RBOOL(rb_stderr_tty_p());
}