Preheat the broiler in your oven, place the rack in the top third of the oven.
Peel and mince the garlic clove, and finely slice the leek into rounds. Fry over a medium heat with the olive oil and thyme in a small skillet until the leek is softened. Slice up the pepper into small squares, and add to the skillet. Add the spinach too, and heat on a low flame until wilted.
Stir together the milk and ricotta, pour into the middle of the skillet (see notes), crack in the two eggs. Season generously with salt and pepper. Place under the broiler for a few minutes just until the whites have cooked.