Returns:
15 16 17
# File 'lib/main/logger.rb', line 15 def tty? device.respond_to?('tty?') and device.tty? end