Cut an onion into very thin slices, and fry them in a sautapan with a pat of butter; then add about two ounces of cooked ham cut into shreds, and also the boiled rice; season with a pinch of cayenne pepper, and a spoonful of grated cheese; stir altogether lightly over the fire, and serve hot.