class CodeRay::Tokens

def encode encoder, options = {}

options are passed to the encoder.

* an Encoder object
* a plugin name like :html oder 'statistic'
encoder can be

Encode the tokens using encoder.
def encode encoder, options = {}
  encoder = Encoders[encoder].new options if encoder.respond_to? :to_sym
  encoder.encode_tokens self, options
end