According to the doc. Pumpkins - allow to ripen on the vine, cut before first frost and store in a cool room indoors. Sweetcorn - pull back part of the sheath and squeeze between thumb and fingernail. If the liquid is watery it's unripe, if it's creamy it's ripe. Carefully twist off the cob from the stem.