Class: Vagrant::Action::VM::ClearNFSExports

Inherits:
Object
  • Object
show all
Includes:
NFSHelpers
Defined in:
lib/vagrant/action/vm/clear_nfs_exports.rb

Instance Method Summary collapse

Methods included from NFSHelpers

#clear_nfs_exports

Constructor Details

#initialize(app, env) ⇒ ClearNFSExports

Returns a new instance of ClearNFSExports.



9
10
11
# File 'lib/vagrant/action/vm/clear_nfs_exports.rb', line 9

def initialize(app, env)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



13
14
15
16
# File 'lib/vagrant/action/vm/clear_nfs_exports.rb', line 13

def call(env)
  clear_nfs_exports(env)
  @app.call(env)
end