Merge pull request #225 from ccope/name-cleanup

remove naming cruft, clarify comment
This commit is contained in:
Fabio Rehm 2014-02-19 23:25:59 -03:00
commit f8021b3f31

View file

@ -12,14 +12,13 @@ module Vagrant
# on /etc/sudoers
attr_accessor :sudo_wrapper
# A string to explicitly set the container name (use :machine) to set it
# to the corresponding machine name.
# A string to explicitly set the container name. To use the vagrant
# machine name, set this to :machine
attr_accessor :container_name
def initialize
@customizations = []
@sudo_wrapper = UNSET_VALUE
@use_machine_name = UNSET_VALUE
@container_name = UNSET_VALUE
end
@ -40,7 +39,6 @@ module Vagrant
def finalize!
@sudo_wrapper = nil if @sudo_wrapper == UNSET_VALUE
@use_machine_name = false if @use_machine_name == UNSET_VALUE
@container_name = nil if @container_name == UNSET_VALUE
end