Parallels/vagrant-parallels

View on GitHub
lib/vagrant-parallels.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'pathname'

require 'vagrant-parallels/plugin'
require 'vagrant-parallels/version'

module VagrantPlugins
  module Parallels
    lib_path = Pathname.new(File.expand_path('../vagrant-parallels', __FILE__))
    autoload :Action, lib_path.join('action')
    autoload :Errors, lib_path.join('errors')

    # This returns the path to the source of this plugin.
    #
    # @return [Pathname]
    def self.source_root
      @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end
  end
end