Well, when fruits are ripe, we say that they are ready to be eaten. When we add salt to a curry, the curry tastes better( when we season curry with salt, the curry tastes better ). So, both the words refer to improve the taste, give flavor to. Finally, what the rat says is that 'the passage of time' and 'the heat of the day', made the 'leavings' taste better.