class CodeRay::Scanners::Scanner

def reset_instance

Resets the scanner.
def reset_instance
  @tokens.clear if @tokens.respond_to?(:clear) && !@options[:keep_tokens]
  @cached_tokens = nil
  @binary_string = nil if defined? @binary_string
end