module XCPretty::Term
Public Class Methods
color?()
click to toggle source
# File lib/xcpretty/term.rb, line 9 def self.color? STDOUT.tty? end
unicode?()
click to toggle source
# File lib/xcpretty/term.rb, line 5 def self.unicode? Encoding.default_external == Encoding::UTF_8 end