module Notifier

Module for notify the user

Public Class Methods

run() click to toggle source
# 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