Sha256: ee3c5cba7dc9d892aee1673553169a9230b45b3a943119162f0501f459a08643
Contents?: true
Size: 321 Bytes
Versions: 15
Compression:
Stored size: 321 Bytes
Contents
module AutotestNotification class Cygwin class << self def notify(title, msg, img) img = get_image_path(img).strip system "sncmd /m '#{title}' '#{msg}' '#{img}' /t #{EXPIRATION_IN_SECONDS}" end def get_image_path(img) `cygpath -m #{img}` end end end end
Version data entries
15 entries across 15 versions & 7 rubygems