Preheat oven to 200ºC (400ºF). Place the eggplant, garlic, chillies, oil, salt and pepper on a baking tray and toss to combine. Roast for 25–30 minutes or until golden and tender. Cook the pasta in a saucepan of salted boiling water for 10–12 minutes or until al dente. Drain and return to the pan. Squeeze the garlic from its skin, slice the chillies and add to the pasta with the eggplant, vinegar, basil and ricotta and toss to combine. Serves 2.