Module: Notifier
- Defined in:
- lib/youtube_dlhelper/notifier.rb
Overview
Module for notifying the user
Class Method Summary collapse
-
.run ⇒ Object
Method for notifying the user.
Class Method Details
.run ⇒ Object
Method for notifying the user
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/youtube_dlhelper/notifier.rb', line 17 def self.run home = Dir.home prefix = "#{home}/.rvm/rubies/default" datadir = "#{prefix}/share" img = "#{datadir}/youtube_dlhelper/100px-youtube_dlhelper.png" Notifier.notify( :image => "#{img}", :title => 'Your YouTube video', :message => 'Your transcoding is finished.' ) end |