Class: VagrantPlugins::DnsConf::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
11
12
# File 'lib/vagrant-dnsconf/config.rb', line 8

def initialize
  @replaces = UNSET_VALUE
  @deletes  = UNSET_VALUE
  @dnssec   = true
end

Instance Attribute Details

#deletesObject

Returns the value of attribute deletes.



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

def deletes
  @deletes
end

#dnssecObject

Returns the value of attribute dnssec.



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

def dnssec
  @dnssec
end

#replacesObject

Returns the value of attribute replaces.



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

def replaces
  @replaces
end

Instance Method Details

#is_set?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/vagrant-dnsconf/config.rb', line 14

def is_set?
  @replaces != UNSET_VALUE or @deletes != UNSET_VALUE
end