Sha256: e28876a9d47c7c218e591d578fb7ba8c25d7bfd97767541da9794cb0435d171b
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
module InfinityTest module Notifications class LibNotify def notify(options) system "notify-send --expire-time 3000 --icon #{options[:image]} 'Ruby #{options[:title]}' '#{options[:message]}'" 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/lib_notify.rb |
infinity_test-0.1.0 | lib/infinity_test/notifications/lib_notify.rb |