method

to_tty?

ruby latest stable - Class: Exception
to_tty?()
public

Returns true if exception messages will be sent to a tty.