Sha256: e49b3df97d70749e62393e695e296120e19bfa2b7a695acfd860413a00b5f8a7
Contents?: true
Size: 741 Bytes
Versions: 69
Compression:
Stored size: 741 Bytes
Contents
require 'vagrant/action/general/package' module Vagrant class Action module VM # A subclass of {General::Package} which simply makes sure that # the package directory is set to the directory which the VM # was exported to. class Package < General::Package # Doing this so that we can test that the parent is properly # called in the unit tests. alias_method :general_call, :call def call(env) # Just match up a couple environmental variables so that # the superclass will do the right thing. Then, call the # superclass env["package.directory"] = env["export.temp_dir"] general_call(env) end end end end end
Version data entries
69 entries across 69 versions & 5 rubygems