Class: VagrantPlugins::VagrantVmwareDhcp::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



8
9
10
# File 'lib/vagrant-vmware-dhcp/config.rb', line 8

def initialize
  @enable = false
end

Instance Attribute Details

#enableObject

Returns the value of attribute enable.



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

def enable
  @enable
end

Instance Method Details

#finalize!Object



12
13
14
15
16
# File 'lib/vagrant-vmware-dhcp/config.rb', line 12

def finalize!
  if @enable != true
    @enable = false
  end
end