Cut the eggplant into bite-sized pieces.
Slice the onion and green onion.
Add cooking oil to a pan and stir-fry the onion and green onion.
Add the eggplant and minced garlic, then stir-fry.
Season with soy sauce, sugar, and cooking wine.
Place the stir-fried eggplant on top of the rice.