lib/ronin/ui/output/output.rb in ronin-support-0.4.1 vs lib/ronin/ui/output/output.rb in ronin-support-0.5.0.rc1
- old
+ new
@@ -24,16 +24,16 @@
module UI
#
# Controls {Output} from Ronin.
#
module Output
- @mode = if ($VERBOSE || $DEBUG || ENV['VERBOSE'])
+ @mode = if ($VERBOSE || $DEBUG)
:verbose
else
:quiet
end
- @handler = if $stdout.tty?
+ @handler = if STDOUT.tty?
Terminal::Color
else
Terminal::Raw
end