Module: VagrantPlugins::VagrantWinNFSd
- Defined in:
- lib/vagrant-winnfsd.rb,
lib/vagrant-winnfsd/host.rb,
lib/vagrant-winnfsd/config.rb,
lib/vagrant-winnfsd/plugin.rb,
lib/vagrant-winnfsd/version.rb,
lib/vagrant-winnfsd/synced_folder.rb
Defined Under Namespace
Classes: Config, Host, Plugin, SyncedFolder
Constant Summary
collapse
- VERSION =
'1.0.5'
Class Method Summary
collapse
Class Method Details
.get_binary_path ⇒ Object
10
11
12
|
# File 'lib/vagrant-winnfsd.rb', line 10
def self.get_binary_path
source_root.join("bin")
end
|
.get_path_for_file(file) ⇒ Object
14
15
16
|
# File 'lib/vagrant-winnfsd.rb', line 14
def self.get_path_for_file(file)
get_binary_path.join(file).to_s.gsub('/', '\\')
end
|
.source_root ⇒ Object
6
7
8
|
# File 'lib/vagrant-winnfsd.rb', line 6
def self.source_root
@source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end
|