Class: VagrantPlugins::Openstack::Action::NoSyncFolders
- Inherits:
-
Object
- Object
- VagrantPlugins::Openstack::Action::NoSyncFolders
- Defined in:
- lib/vagrant-openstack-provider/action/sync_folders.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, _env) ⇒ NoSyncFolders
constructor
A new instance of NoSyncFolders.
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 |