Dice eggplant and onion into cubes.
Beat the eggs and set aside.
Drizzle olive oil in a pan and sauté the onion and eggplant.
Once the eggplant becomes soft, season with salt and pepper.
Pour the beaten eggs in and gently scramble everything together.
Transfer to a plate and finish with parsley or herbs on top.