In Buddhism the practice of meditation comes in many forms, each of which is a prescription for cultivating a particular positive traits in oneself.
"Practise lovingkindness to abandon ill will. Practise compassion to abandon cruelty. Practise appreciative joy to abandon discontent. Practise equanimity to abandon aversion. Practise contemplation of the body to abandon lustful craving. Practise contemplation of impermanence to abandon the conceit `I am'. Practise mindfulness of breathing; for when maintained in being and well developed, it brings great fruit and many blessings." - The Buddha