Class: VagrantPlugins::VagrantCommunicatorDocker::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
10
# File 'lib/vagrant-communicator-docker/config.rb', line 7

def initialize
  @bash_shell         = UNSET_VALUE
  @bash_wait         = UNSET_VALUE
end

Instance Attribute Details

#bash_shellObject

Returns the value of attribute bash_shell.



4
5
6
# File 'lib/vagrant-communicator-docker/config.rb', line 4

def bash_shell
  @bash_shell
end

#bash_waitObject

Returns the value of attribute bash_wait.



5
6
7
# File 'lib/vagrant-communicator-docker/config.rb', line 5

def bash_wait
  @bash_wait
end

Instance Method Details

#finalize!Object



12
13
14
15
# File 'lib/vagrant-communicator-docker/config.rb', line 12

def finalize!
  @bash_shell         = '/bin/bash' if @bash_shell == UNSET_VALUE
  @bash_wait         = 10 if @bash_wait == UNSET_VALUE
end