Riddles and Puzzles

Riddles and Puzzles # 39

You throw away the outside and then cook the inside. Then you eat the outside and throw away the inside. What did you eat?