Class: VagrantPlugins::SyncedFolderNFSGuest::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::SyncedFolderNFSGuest::Config
- Defined in:
- lib/vagrant-nfs_guest_vbfix/config.rb
Instance Attribute Summary collapse
-
#functional ⇒ Object
Returns the value of attribute functional.
-
#map_gid ⇒ Object
Returns the value of attribute map_gid.
-
#map_uid ⇒ Object
Returns the value of attribute map_uid.
-
#verify_installed ⇒ Object
Returns the value of attribute verify_installed.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
11 12 13 14 15 16 17 18 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 11 def initialize super @functional = UNSET_VALUE @map_uid = UNSET_VALUE @map_gid = UNSET_VALUE @verify_installed = UNSET_VALUE end |
Instance Attribute Details
#functional ⇒ Object
Returns the value of attribute functional.
6 7 8 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 6 def functional @functional end |
#map_gid ⇒ Object
Returns the value of attribute map_gid.
8 9 10 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 8 def map_gid @map_gid end |
#map_uid ⇒ Object
Returns the value of attribute map_uid.
7 8 9 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 7 def map_uid @map_uid end |
#verify_installed ⇒ Object
Returns the value of attribute verify_installed.
9 10 11 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 9 def verify_installed @verify_installed end |
Instance Method Details
#finalize! ⇒ Object
20 21 22 23 24 25 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 20 def finalize! @functional = true if @functional == UNSET_VALUE @map_uid = nil if @map_uid == UNSET_VALUE @map_gid = nil if @map_gid == UNSET_VALUE @verify_installed = true if @verify_installed == UNSET_VALUE end |
#to_s ⇒ Object
27 28 29 |
# File 'lib/vagrant-nfs_guest_vbfix/config.rb', line 27 def to_s "NFS_Guest" end |