Class: VagrantPlugins::VagrantVmwareDhcp::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::VagrantVmwareDhcp::Config
- Defined in:
- lib/vagrant-vmware-dhcp/config.rb
Instance Attribute Summary collapse
-
#enable ⇒ Object
Returns the value of attribute enable.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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
#enable ⇒ Object
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 |