class CodeRay::Encoders::Encoder

def encode_tokens tokens, options = {}

Encode a Tokens object.
def encode_tokens tokens, options = {}
  options = @options.merge options
  @scanner = tokens.scanner if tokens.respond_to? :scanner
  setup options
  compile tokens, options
  finish options
end