Sha256: a239ea1107b26c993513b16a8000771d4f551adf073869ca42dd367941f1e9ec

Contents?: true

Size: 528 Bytes

Versions: 6

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

require 'pathname'
require 'vagrant-packet/plugin'

module VagrantPlugins
  # Top level module for Packet Plugin
  module Packet
    lib_path = Pathname.new(File.expand_path('vagrant-packet', __dir__))
    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('../', __dir__))
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vagrant-packet-0.1.6 lib/vagrant-packet.rb
vagrant-packet-0.1.5 lib/vagrant-packet.rb
vagrant-packet-0.1.4 lib/vagrant-packet.rb
vagrant-packet-0.1.3 lib/vagrant-packet.rb
vagrant-packet-0.1.2 lib/vagrant-packet.rb
vagrant-packet-0.1.1 lib/vagrant-packet.rb