Sha256: 4c911ca32bbc620b012ca92544ed2561a3e1656ee1e93b7a3035fec1379970ba

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

require 'snarl' if RUBY_PLATFORM =~ /mswin/

class Autotestforphp
  module Notification
    module Mac
      @last_test_failed = false

      class << self

        def notify(title, msg, img)
          system "growlnotify -n autotest --image #{img} -m '#{msg}' -t #{title} -w" 
	  #note: -w stops execution until growl notification desapears
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
autotestforphp-0.0.3 lib/autotestforphp/notification/mac.rb