Class: Vagrant::Action::VM::Package
- Inherits:
-
General::Package
- Object
- General::Package
- Vagrant::Action::VM::Package
- Defined in:
- lib/vagrant/action/vm/package.rb
Overview
A subclass of General::Package which simply makes sure that the package directory is set to the directory which the VM was exported to.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#general_call ⇒ Object
Doing this so that we can test that the parent is properly called in the unit tests.
Methods inherited from General::Package
#compress, #copy_include_files, #files_to_copy, #initialize, #recover, #tar_path, #verify_files_to_copy
Constructor Details
This class inherits a constructor from Vagrant::Action::General::Package
Instance Method Details
#call(env) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/vagrant/action/vm/package.rb', line 13 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 |
#general_call ⇒ Object
Doing this so that we can test that the parent is properly called in the unit tests.
12 |
# File 'lib/vagrant/action/vm/package.rb', line 12 alias_method :general_call, :call |