Class: Tenderloin::Config::Top

Inherits:
Base
  • Object
show all
Defined in:
lib/tenderloin/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#[], #instance_variables_hash, #to_json

Constructor Details

#initializeTop

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

#packageObject (readonly)

Returns the value of attribute package.



117
118
119
# File 'lib/tenderloin/config.rb', line 117

def package
  @package
end

#provisioningObject (readonly)

Returns the value of attribute provisioning.



121
122
123
# File 'lib/tenderloin/config.rb', line 121

def provisioning
  @provisioning
end

#shared_foldersObject (readonly)

Returns the value of attribute shared_folders.



122
123
124
# File 'lib/tenderloin/config.rb', line 122

def shared_folders
  @shared_folders
end

#sshObject (readonly)

Returns the value of attribute ssh.



118
119
120
# File 'lib/tenderloin/config.rb', line 118

def ssh
  @ssh
end

#tenderloinObject (readonly)

Returns the value of attribute tenderloin.



120
121
122
# File 'lib/tenderloin/config.rb', line 120

def tenderloin
  @tenderloin
end

#vmObject (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

Returns:

  • (Boolean)


135
136
137
# File 'lib/tenderloin/config.rb', line 135

def loaded?
  @loaded
end