Method: UnicodePlot::StyledPrinter#color?

Defined in:
lib/unicode_plot/styled_printer.rb

#color?(out) ⇒ Boolean

Returns:

  • (Boolean)


87
88
89
# File 'lib/unicode_plot/styled_printer.rb', line 87

def color?(out)
  out&.tty? || false
end