Module: Notifier
- Defined in:
- lib/publican_creators/notifier.rb
Overview
Module for notify the user
Class Method Summary collapse
Class Method Details
.run ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/publican_creators/notifier.rb', line 22 def self.run xdg = XDG::Environment.new data_xdg = xdg.data_home install_path = "#{data_xdg}/icons/" img = "#{install_path}/publican.png" Notifier.notify( image: img.to_s, title: 'Your Documentation', message: 'The preparation of your Documentation is finished.' ) end |