Method: CodeRay::Tokens#to_s

Defined in:
lib/coderay/tokens.rb

#to_sObject

Turn tokens into a string by concatenating them.



62
63
64
# File 'lib/coderay/tokens.rb', line 62

def to_s
  encode CodeRay::Encoders::Encoder.new
end