Class: VagrantPlugins::DnsConf::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::DnsConf::Config
- Defined in:
- lib/vagrant-dnsconf/config.rb
Instance Attribute Summary collapse
-
#deletes ⇒ Object
Returns the value of attribute deletes.
-
#dnssec ⇒ Object
Returns the value of attribute dnssec.
-
#replaces ⇒ Object
Returns the value of attribute replaces.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #is_set? ⇒ Boolean
Constructor Details
#initialize ⇒ Config
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
#deletes ⇒ Object
Returns the value of attribute deletes.
6 7 8 |
# File 'lib/vagrant-dnsconf/config.rb', line 6 def deletes @deletes end |
#dnssec ⇒ Object
Returns the value of attribute dnssec.
6 7 8 |
# File 'lib/vagrant-dnsconf/config.rb', line 6 def dnssec @dnssec end |
#replaces ⇒ Object
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
14 15 16 |
# File 'lib/vagrant-dnsconf/config.rb', line 14 def is_set? @replaces != UNSET_VALUE or @deletes != UNSET_VALUE end |