Sha256: fabc760780abec6ee320ec69ba4728e8fdc7ba24c5627496dc313c67e904acc4
Contents?: true
Size: 562 Bytes
Versions: 114
Compression:
Stored size: 562 Bytes
Contents
# take control of the growl notifications module GrowlHacks def growl(type, subject, body, *args, &block) case type when Kicker::GROWL_NOTIFICATIONS[:succeeded] puts subject = "Success" body = body.split("\n").last when Kicker::GROWL_NOTIFICATIONS[:failed] subject = "Failure" puts body body = body.split("\n").last else return nil end super(type, subject, body, *args, &block) end end Kicker.send :extend, GrowlHacks # no logging Kicker::Utils.module_eval do def log(message) nil end end
Version data entries
114 entries across 114 versions & 11 rubygems