Class: VagrantPlugins::Unify::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::Unify::Config
- Defined in:
- lib/vagrant-unify/config.rb
Instance Attribute Summary collapse
-
#folders ⇒ Object
Returns the value of attribute folders.
Instance Method Summary collapse
-
#initialize(region_specific = false) ⇒ Config
constructor
A new instance of Config.
- #unify_folder(local_path, remote_path, opts = {}) ⇒ Object
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
#folders ⇒ Object
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 |