Sha256: 09ae8f7d2a083f4656a7ccd7833ce20a95c3b6401076556fae61d48e7e952e87
Contents?: true
Size: 289 Bytes
Versions: 2
Compression:
Stored size: 289 Bytes
Contents
module AutotestNotification class Cygwin class << self def notify(title, msg, img) img = `cygpath -m #{img}` if RUBY_PLATFORM =~ /cygwin/ img.strip! system "sncmd /m '#{title}' '#{msg}' '#{img}' /t #{EXPIRATION_IN_SECONDS}" end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
carlosbrando-autotest-notification-0.2.0 | lib/autotest_notification/cygwin.rb |
urubatan-autotest-notification-0.2.0 | lib/autotest_notification/cygwin.rb |