to_tty?()
Returns true if exception messages will be sent to a tty.
static VALUE exc_s_to_tty_p(VALUE self) { return rb_stderr_tty_p() ? Qtrue : Qfalse; }