Class: VagrantPlugins::Serverkit::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::Serverkit::Config
- Defined in:
- lib/vagrant-serverkit/config.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#recipe ⇒ Object
Returns the value of attribute recipe.
-
#variables ⇒ Object
Returns the value of attribute variables.
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 11 12 |
# File 'lib/vagrant-serverkit/config.rb', line 8 def initialize @host = UNSET_VALUE @recipe = UNSET_VALUE @variables = UNSET_VALUE end |
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/vagrant-serverkit/config.rb', line 4 def host @host end |
#recipe ⇒ Object
Returns the value of attribute recipe.
5 6 7 |
# File 'lib/vagrant-serverkit/config.rb', line 5 def recipe @recipe end |
#variables ⇒ Object
Returns the value of attribute variables.
6 7 8 |
# File 'lib/vagrant-serverkit/config.rb', line 6 def variables @variables end |
Instance Method Details
#finalize! ⇒ Object
14 15 16 17 18 |
# File 'lib/vagrant-serverkit/config.rb', line 14 def finalize! @host = nil if @host == UNSET_VALUE @recipe = nil if @recipe == UNSET_VALUE @variables = nil if @variables == UNSET_VALUE end |