Sha256: deeb3bfcf512630518173cc7b5c81b82bc15273aa49dd5746c853e8f5180d7d2

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

module InfinityTest
  module Notifications
    class Growl
      
      # Notification via Growl
      #
      # Growl.new.notify(:ruby_version => "Ruby 1.9.2", :message => "0 examples, 0 failures", :image => 'image.png')
      #
      def notify(options)
        system "growlnotify -n infinity_test -m '#{options[:message]}' -t 'Ruby #{options[:title]}' --image #{options[:image]} -n infinity_test"
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
infinity_test-0.2.0 lib/infinity_test/notifications/growl.rb
infinity_test-0.1.0 lib/infinity_test/notifications/growl.rb