Sha256: c91ee90dc3380d7d33b86e10ec6e22fbcb89f3134772dd51425e0b97bccbacc0

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 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: 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.0.3 lib/publican_creators/notifier.rb
publican_creators-1.0.2 lib/publican_creators/notifier.rb