Class: VagrantPlugins::MultiHostsUpdater::Config

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

Instance Attribute Summary collapse

Instance Attribute Details

#aliasesObject

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_ipsObject

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

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#remove_on_suspendObject

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