Class: VagrantZFS::Config

Inherits:
Vagrant::Config::Base
  • Object
show all
Defined in:
lib/vagrant_zfs/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cloned_foldersObject

Returns the value of attribute cloned_folders.



3
4
5
# File 'lib/vagrant_zfs/config.rb', line 3

def cloned_folders
  @cloned_folders
end

Instance Method Details

#share_cloned_folder(name, guestpath, filesystem, options = {}) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/vagrant_zfs/config.rb', line 9

def share_cloned_folder(name, guestpath, filesystem, options = {})
  self.cloned_folders[name] = {
    :guestpath  => guestpath,
    :filesystem => filesystem,
    :options    => options
  }
end