Cut the eggplant and onion into small pieces.
Heat olive oil in a pan and sauté the eggplant and onion.
When the eggplant becomes tender, beat the eggs and pour them into the pan.
Gently scramble the eggs and vegetables together.
Season with salt and pepper to taste, then serve.