Class: Rouge::Formatters::TerminalTruecolor

Inherits:
Terminal256 show all
Defined in:
lib/rouge/formatters/terminal_truecolor.rb

Defined Under Namespace

Classes: TruecolorEscapeSequence

Instance Method Summary collapse

Methods inherited from Terminal256

#escape_sequence, #get_style, #initialize, #stream, #text_style

Methods inherited from Rouge::Formatter

disable_escape!, enable_escape!, #escape?, escape_enabled?, #filter_escapes, find, #format, format, #initialize, #render, #stream, tag, #token_lines, with_escape

Constructor Details

This class inherits a constructor from Rouge::Formatters::Terminal256

Instance Method Details

#make_escape_sequence(style) ⇒ Object



32
33
34
# File 'lib/rouge/formatters/terminal_truecolor.rb', line 32

def make_escape_sequence(style)
  TruecolorEscapeSequence.new(style)
end