fgrehm/vagrant-notify

View on GitHub
lib/vagrant-notify.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'vagrant'
require 'socket'
require 'erb'
require 'ostruct'

if File.exists?(File.join(File.expand_path('../../', __FILE__), '.git'))
  $:.unshift(File.expand_path('../../lib', __FILE__))
end

require 'vagrant-notify/plugin'
require "vagrant-notify/version"

module Vagrant
  module Notify
    class << self
      def files_path
        @file_path ||= Pathname.new(File.dirname(__FILE__)).join('..', 'files').expand_path
      end
    end
  end
end