Sha256: 597c7d8dbc67171a42797c1ceafca9d58546f99cfac7c53db184379c9a4a36da
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
module RSpactor module Growl extend self def notify(title, msg, img, pri = 0) system("growlnotify -w -n rspactor --image #{img} -p #{pri} -m #{msg.inspect} #{title} &") end # failed | pending | success def image_path(icon) File.expand_path File.dirname(__FILE__) + "/../../images/#{icon}.png" end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
guillaumegentil-rspactor-0.3.4 | lib/rspactor/growl.rb |
lacomartincik-rspactor-0.3.3.1 | lib/rspactor/growl.rb |
lacomartincik-rspactor-0.3.3.2 | lib/rspactor/growl.rb |