class CodeRay::Encoders::Terminal

def open_token kind

def open_token kind
  if color = TOKEN_COLORS[kind]
    if Hash === color
      @subcolors = color
      ansi_colorize(color[:self]) if color[:self]
    else
      @subcolors = {}
      ansi_colorize(color)
    end
  else
    @subcolors = nil
    ''
  end
end