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