Cut the eggplant and onion into bite-sized pieces.
Heat cooking oil in a pan and sauté the onion.
When the onion becomes translucent, add the eggplant and cook together.
Add soy sauce, sugar, and minced garlic to season.
Once all ingredients are cooked, place them over rice to finish.