tty?()
Returns true if TTY methods should be used on this StreamUI.
# File lib/rubygems/user_interaction.rb, line 206 def tty? if RUBY_VERSION < '1.9.3' and RUBY_PLATFORM =~ /mingw|mswin/ then @usetty else @usetty && @ins.tty? end end