Sha256: 5a82f753a6ccee436f19042efc7cb20def3e3d0b79450fff3d6ecb668db6d805

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

require "pathname"

require "vagrant-hyperkit/plugin"

module VagrantPlugins
  module HYPERKIT
    lib_path = Pathname.new(File.expand_path("../vagrant-hyperkit", __FILE__))
    autoload :Action, lib_path.join("action")
    autoload :Errors, lib_path.join("errors")

    # Put vagrant-xhyve-x.y.z/vendor/xhyve-ruby/lib on the LOAD_PATH before
    # the auto-loaded xhyve-ruby-a.b.c
    $LOAD_PATH.unshift(Pathname.new(File.expand_path("../../vendor/xhyve-ruby/lib", __FILE__)))

    # 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-hyperkit-0.4.3 lib/vagrant-hyperkit.rb