Sha256: 43493be6744bdeb87886645da925aba727a818fa0a680d586fac1cbe66f11b7b

Contents?: true

Size: 215 Bytes

Versions: 4

Compression:

Stored size: 215 Bytes

Contents

module Notify
  begin
    require 'terminal-notifier'

    def self.notify(title, message, options = {})
      TerminalNotifier.notify(message, {:title => title}.merge(options))
    end
  rescue LoadError
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notify-0.5.2 lib/notify/terminal-notifier.rb
notify-0.5.1 lib/notify/terminal-notifier.rb
notify-0.5.0 lib/notify/terminal-notifier.rb
notify-0.4.0 lib/notify/terminal-notifier.rb