class Dhammapada
Public Class Methods
new()
click to toggle source
# File lib/quote_libraries/dhammapada.rb, line 4 def initialize @dhammapada_quotes = [ ' Animosity does not eradicate animosity. Only by loving kindness is animosity dissolved. This law is ancient and eternal. - The Dhammapada', ' Mind is the forerunner of all actions. All deeds are led by mind, created by mind. If one speaks or acts with corrupt mind, suffering follows, As the wheel follows the hoof of an ox pulling a cart. - The Dhammapada', ' Mind is the forerunner of all actions. All deeds are led by mind, created by mind. If one speaks or acts with a serene mind, happiness follows, As surely as one\'s shadow. - The Dhammapada', ' By oneself the evil is done, by oneself one suffers. By oneself evil is left undone, by oneself one is purified. The pure and the impure (stand and fall) by themselves: no one can purify another. - The Dhammapada', ' The wise one makes straight The trembling, fickle mind So hard to guard, so hard to control, As the fletcher makes straight the arrow. - The Dhammapada', ' The mind is hard to restrain, light, Flying where it will. Control of it is good. Mind controlled brings happiness. - The Dhammapada', ' Whatever an enemy can do to an enemy, Or a rival to a rival, A wrongly directed mind Will do worse to you than that. - The Dhammapada', ' What mother or father can do, Or any other kin, A rightly directed mind Will do better for you than that. - The Dhammapada', ' The Learner will conquer this earth, And this world of Yama with its gods. The Learner will pluck the well-taught word of Dhamma As a skilled one plucks a flower. - The Dhammapada', ' Like a beautiful flower, Colourful but scentless, The well-taught word is fruitless For one who does not practise. - The Dhammapada' ] end
Public Instance Methods
quotes()
click to toggle source
return the @dhammapada_quotes array stored in the instance var
# File lib/quote_libraries/dhammapada.rb, line 69 def quotes @dhammapada_quotes end