Sha256: 9716cec751b3512f589abed68e6a0d4c257d54d30174a4b043f2043238d978a2
Contents?: true
Size: 678 Bytes
Versions: 4
Compression:
Stored size: 678 Bytes
Contents
#!/usr/bin/env ruby # encoding: utf-8 # @author Sascha Manns # @abstract Notifier Module for latex_curriculum_vitae # # Copyright (C) 2015 Sascha Manns <samannsml@directbox.com> # License: GPL-3 # Dependencies # Module for notify the user require 'notifier' # Module for notifying the user module Notifier # Method for notifying the user 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 end
Version data entries
4 entries across 4 versions & 1 rubygems