Class: Rouge::Formatters::Terminal256::Unescape

Inherits:
EscapeSequence show all
Defined in:
lib/rouge/formatters/terminal256.rb

Instance Attribute Summary

Attributes inherited from EscapeSequence

#style

Instance Method Summary collapse

Methods inherited from EscapeSequence

#bg, #fg, xterm_colors

Constructor Details

#initializeUnescape

Returns a new instance of Unescape.



166
# File 'lib/rouge/formatters/terminal256.rb', line 166

def initialize(*) end

Instance Method Details

#reset_stringObject



168
# File 'lib/rouge/formatters/terminal256.rb', line 168

def reset_string(*) '' end

#stream_value(val) {|val| ... } ⇒ Object

Yields:

  • (val)


169
# File 'lib/rouge/formatters/terminal256.rb', line 169

def stream_value(val) yield val end

#style_stringObject



167
# File 'lib/rouge/formatters/terminal256.rb', line 167

def style_string(*) '' end