It plays out through the headphones, so get a mini cable and plug the headphone output into your computer's input.
If you don't already have something that can record audio on your computer I'm sure there are tons of cheap or free solutions out there.