Sha256: 84edb329b1c0758b56a284f6726d089aee04e175e0dea7add80a9a84ee171554

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

require "pathname"
require "vagrant-cosmic/plugin"

module VagrantPlugins
  module Cosmic
    lib_path = Pathname.new(File.expand_path("../vagrant-cosmic", __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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-cosmic-0.2.0 lib/vagrant-cosmic.rb
vagrant-cosmic-0.1.0 lib/vagrant-cosmic.rb