Class: Tenderloin::Config::Top
Instance Attribute Summary collapse
-
#package ⇒ Object
readonly
Returns the value of attribute package.
-
#provisioning ⇒ Object
readonly
Returns the value of attribute provisioning.
-
#shared_folders ⇒ Object
readonly
Returns the value of attribute shared_folders.
-
#ssh ⇒ Object
readonly
Returns the value of attribute ssh.
-
#tenderloin ⇒ Object
readonly
Returns the value of attribute tenderloin.
-
#vm ⇒ Object
readonly
Returns the value of attribute vm.
Instance Method Summary collapse
-
#initialize ⇒ Top
constructor
A new instance of Top.
- #loaded! ⇒ Object
- #loaded? ⇒ Boolean
Methods inherited from Base
#[], #instance_variables_hash, #to_json
Constructor Details
#initialize ⇒ Top
Returns a new instance of Top.
124 125 126 127 128 129 130 131 132 133 |
# File 'lib/tenderloin/config.rb', line 124 def initialize @ssh = SSHConfig.new @vm = VMConfig.new @tenderloin = TenderloinConfig.new @package = PackageConfig.new @provisioning = ProvisioningConfig.new @shared_folders = SharedFoldersConfig.new @loaded = false end |
Instance Attribute Details
#package ⇒ Object (readonly)
Returns the value of attribute package.
117 118 119 |
# File 'lib/tenderloin/config.rb', line 117 def package @package end |
#provisioning ⇒ Object (readonly)
Returns the value of attribute provisioning.
121 122 123 |
# File 'lib/tenderloin/config.rb', line 121 def provisioning @provisioning end |
#shared_folders ⇒ Object (readonly)
Returns the value of attribute shared_folders.
122 123 124 |
# File 'lib/tenderloin/config.rb', line 122 def shared_folders @shared_folders end |
#ssh ⇒ Object (readonly)
Returns the value of attribute ssh.
118 119 120 |
# File 'lib/tenderloin/config.rb', line 118 def ssh @ssh end |
#tenderloin ⇒ Object (readonly)
Returns the value of attribute tenderloin.
120 121 122 |
# File 'lib/tenderloin/config.rb', line 120 def tenderloin @tenderloin end |
#vm ⇒ Object (readonly)
Returns the value of attribute vm.
119 120 121 |
# File 'lib/tenderloin/config.rb', line 119 def vm @vm end |
Instance Method Details
#loaded! ⇒ Object
139 140 141 |
# File 'lib/tenderloin/config.rb', line 139 def loaded! @loaded = true end |
#loaded? ⇒ Boolean
135 136 137 |
# File 'lib/tenderloin/config.rb', line 135 def loaded? @loaded end |