Class: VagrantPlugins::Openstack::Action::NoSyncFolders

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-openstack-provider/action/sync_folders.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, _env) ⇒ NoSyncFolders

Returns a new instance of NoSyncFolders.



28
29
30
# File 'lib/vagrant-openstack-provider/action/sync_folders.rb', line 28

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

Instance Method Details

#call(env) ⇒ Object



32
33
34
35
# File 'lib/vagrant-openstack-provider/action/sync_folders.rb', line 32

def call(env)
  @app.call(env)
  env[:ui].info(I18n.t('vagrant_openstack.disabled_sync_folders'))
end