Concats the tokens into a single string, resulting in the original code string if no tokens were removed.
Alias: plain
, plaintext
A separator string to join the tokens.
Default: empty String
# File lib/coderay/encoders/text.rb, line 25 def text_token text, kind super if @first @first = false else @out << @sep end if @sep end
# File lib/coderay/encoders/text.rb, line 36 def setup options super @first = true @sep = options[:separator] end