Cut the eggplant and onion into bite-sized pieces.
Heat cooking oil in a pan and sauté the onion.
When the onion turns translucent, add the eggplant and stir-fry together.
Once the eggplant is cooked, add soy sauce, sugar, and minced garlic and continue stir-frying.
Spoon the cooked eggplant over rice, then sprinkle with sesame seeds and chopped green onions to finish.