Class: VagrantPlugins::MultiHostsUpdater::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::MultiHostsUpdater::Config
- Defined in:
- lib/vagrant-multi-hostsupdater/config.rb
Instance Attribute Summary collapse
-
#aliases ⇒ Object
Array of hostnames to add or a Map[String => Array] of IPs to hostnames.
-
#force_ips ⇒ Object
Returns the value of attribute force_ips.
-
#id ⇒ Object
Returns the value of attribute id.
-
#remove_on_suspend ⇒ Object
Returns the value of attribute remove_on_suspend.
Instance Attribute Details
#aliases ⇒ Object
Array of hostnames to add or a Map[String => Array] of IPs to hostnames.
Array syntax: aliases = [‘foo.com’, ‘bar.com’] Map syntax: aliases = => [‘foo.com’, ‘bar.com’], ‘10.0.0.2’ => [‘baz.com’, ‘bat.com’]
11 12 13 |
# File 'lib/vagrant-multi-hostsupdater/config.rb', line 11 def aliases @aliases end |
#force_ips ⇒ Object
Returns the value of attribute force_ips.
14 15 16 |
# File 'lib/vagrant-multi-hostsupdater/config.rb', line 14 def force_ips @force_ips end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/vagrant-multi-hostsupdater/config.rb', line 12 def id @id end |
#remove_on_suspend ⇒ Object
Returns the value of attribute remove_on_suspend.
13 14 15 |
# File 'lib/vagrant-multi-hostsupdater/config.rb', line 13 def remove_on_suspend @remove_on_suspend end |