Class: HashiCorp::VagrantVMwareDesktop::Action::PrepareSyncedFolderCleanup
- Inherits:
-
Object
- Object
- HashiCorp::VagrantVMwareDesktop::Action::PrepareSyncedFolderCleanup
- Includes:
- Common
- Defined in:
- lib/vagrant-vmware-desktop/action/prepare_synced_folder_cleanup.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ PrepareSyncedFolderCleanup
constructor
A new instance of PrepareSyncedFolderCleanup.
Methods included from Common
Constructor Details
#initialize(app, env) ⇒ PrepareSyncedFolderCleanup
Returns a new instance of PrepareSyncedFolderCleanup.
10 11 12 |
# File 'lib/vagrant-vmware-desktop/action/prepare_synced_folder_cleanup.rb', line 10 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
14 15 16 17 18 |
# File 'lib/vagrant-vmware-desktop/action/prepare_synced_folder_cleanup.rb', line 14 def call(env) env[:nfs_valid_ids] = env[:machine].provider.driver.read_running_vms @app.call(env) end |