spammable.rb 242 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 Spammable.module_eval do def marked_as_spam plugins.dispatch(:marked_as_spam, self) end def marked_as_ham plugins.dispatch(:marked_as_ham, self) end def check_for_spam plugins.dispatch(:check_for_spam, self) end end