Class: VagrantBindfs::Vagrant::Plugin
- Inherits:
-
Object
- Object
- VagrantBindfs::Vagrant::Plugin
- Includes:
- Capabilities
- Defined in:
- lib/vagrant-bindfs/vagrant/plugin.rb
Class Method Summary collapse
Methods included from Capabilities
Class Method Details
.hooks ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/vagrant-bindfs/vagrant/plugin.rb', line 27 def hooks @hooks ||= begin { synced_folders: synced_folders_hook, provision: ::Vagrant::Action::Builtin::Provision } end end |
.synced_folders_hook ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/vagrant-bindfs/vagrant/plugin.rb', line 36 def synced_folders_hook if ::Vagrant::Action::Builtin.const_defined? :NFS ::Vagrant::Action::Builtin::NFS else ::Vagrant::Action::Builtin::SyncedFolders end end |