class CodeRay::Encoders::Encoder

def initialize options = {}

added to the options you passed at creation.
Each method has an optional +options+ parameter. These are

- encode_tokens expects a +tokens+ object instead
- encode simply takes a +code+ string and a +lang+
Encoder objects provide three encode methods:

as you don't overwrite it there by passing additional options.
+options+ is saved and used for all encode operations, as long
Creates a new Encoder.
def initialize options = {}
  @options = self.class::DEFAULT_OPTIONS.merge options
  @@CODERAY_TOKEN_INTERFACE_DEPRECATION_WARNING_GIVEN = false
end