Peel, core and cut the pineapple in half then slice it and arrange in the pan on top of the sugar and butter, tightly packed. Cut the pastry in a circle to fit the pan, cover the pineapple, tucking in around the sides, and score the pastry. Place on the stove top and cook for about 10-15 minutes on medium heat until you can see a caramel forming.