Class: VagrantPlugins::Unify::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-unify/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(region_specific = false) ⇒ Config

Returns a new instance of Config.



8
9
10
# File 'lib/vagrant-unify/config.rb', line 8

def initialize(region_specific=false)
  @folders = []
end

Instance Attribute Details

#foldersObject

Returns the value of attribute folders.



6
7
8
# File 'lib/vagrant-unify/config.rb', line 6

def folders
  @folders
end

Instance Method Details

#unify_folder(local_path, remote_path, opts = {}) ⇒ Object



12
13
14
# File 'lib/vagrant-unify/config.rb', line 12

def unify_folder(local_path, remote_path, opts = {})
  @folders << [local_path, remote_path, opts]
end