Sha256: 97264f360e2827c5b9d173cb547931ff594b2a513a7e5e9f561c43028a6da6db

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8
# @author Sascha Manns
# @abstract Notifier Module for latex_curriculum_vitae
#
# Copyright (C) 2015-2016  Sascha Manns <samannsml@directbox.com>
# License: MIT

# Dependencies

# Module for notify the user
require 'notifier'

module Notifier
  def self.run
    home = Dir.home
    prefix = "#{home}/.rvm/rubies/default"
    datadir = "#{prefix}/share"
    img = "#{datadir}/.publican_creators/publican.png"
    Notifier.notify(
        :image => "#{img}",
        :title => "Your Documentation",
        :message => "The preparation of your Documentation is finished."
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
publican_creators-1.1.0 lib/publican_creators/notifier.rb
publican_creators-1.0.4 lib/publican_creators/notifier.rb