Module: VagrantWinNFSd
- Defined in:
- lib/vagrant-winnfsd.rb,
lib/vagrant-winnfsd/plugin.rb,
lib/vagrant-winnfsd/cap/nfs.rb,
lib/vagrant-winnfsd/version.rb,
lib/vagrant-winnfsd/config/config.rb,
lib/vagrant-winnfsd/synced_folder.rb,
lib/vagrant-winnfsd/config/winnfsd.rb
Defined Under Namespace
Modules: Cap, Config
Classes: Plugin, SyncedFolder
Constant Summary
collapse
- VERSION =
'1.1.0'
Class Method Summary
collapse
Class Method Details
.get_binary_path ⇒ Object
9
10
11
|
# File 'lib/vagrant-winnfsd.rb', line 9
def self.get_binary_path
source_root.join('bin')
end
|
.get_path_for_file(file) ⇒ Object
13
14
15
|
# File 'lib/vagrant-winnfsd.rb', line 13
def self.get_path_for_file(file)
get_binary_path.join(file).to_s.gsub('/', '\\')
end
|
.source_root ⇒ Object
5
6
7
|
# File 'lib/vagrant-winnfsd.rb', line 5
def self.source_root
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
end
|