Sha256: 4cb1bf35571a0cd322d9bb56a34bf32db72369b6b8aeb828ca8fc9c1fc9b7cdb
Contents?: true
Size: 839 Bytes
Versions: 3
Compression:
Stored size: 839 Bytes
Contents
require "vagrant" module VagrantPlugins module SyncedFolderNFSGuest class Config < Vagrant.plugin("2", :config) attr_accessor :functional attr_accessor :map_uid attr_accessor :map_gid attr_accessor :host_ip attr_accessor :guest_ip def initialize super @functional = UNSET_VALUE @map_uid = UNSET_VALUE @map_gid = UNSET_VALUE @host_ip = UNSET_VALUE @guest_ip = UNSET_VALUE end def finalize! @functional = true if @functional == UNSET_VALUE @map_uid = nil if @map_uid == UNSET_VALUE @map_gid = nil if @map_gid == UNSET_VALUE @host_ip = nil if @host_ip == UNSET_VALUE @guest_ip = nil if @guest_ip == UNSET_VALUE end def to_s "NFS_Guest" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-nfs_guest-0.1.6 | lib/vagrant-nfs_guest/config.rb |
vagrant-nfs_guest-0.1.5 | lib/vagrant-nfs_guest/config.rb |
vagrant-nfs_guest-0.1.4 | lib/vagrant-nfs_guest/config.rb |