Class: VagrantPlugins::Bindfs::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-bindfs/plugin.rb

Class Method Summary collapse

Class Method Details

.hook_namesObject



89
90
91
# File 'lib/vagrant-bindfs/plugin.rb', line 89

def hook_names
  hooks.keys
end

.hooksObject



74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/vagrant-bindfs/plugin.rb', line 74

def hooks
  @hooks ||= begin
    synced_folders = if Vagrant::Action::Builtin.const_defined? :NFS
      Vagrant::Action::Builtin::NFS
    else
      Vagrant::Action::Builtin::SyncedFolders
    end
    
    {
      :synced_folders => synced_folders,
      :provision      => Vagrant::Action::Builtin::Provision
    }
  end
end