Class: VagrantPlugins::VagrantCommunicatorDocker::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::VagrantCommunicatorDocker::Config
- Defined in:
- lib/vagrant-communicator-docker/config.rb
Instance Attribute Summary collapse
-
#bash_shell ⇒ Object
Returns the value of attribute bash_shell.
-
#bash_wait ⇒ Object
Returns the value of attribute bash_wait.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_shell ⇒ Object
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_wait ⇒ Object
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 |