Sha256: d76bf08842adb6960944385273601d8f19ace30ba81578a4bac0adb3c4c171c3

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

module Notify
  if which('notify-send')
    def self.notify(title, message, option = {})
      system 'notify-send', title, html_escape(message)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
notify-0.5.0 lib/notify/notify-send.rb
notify-0.4.0 lib/notify/notify-send.rb