Class: Souschef::Testkitchen::Solusvm
- Inherits:
-
Object
- Object
- Souschef::Testkitchen::Solusvm
- Defined in:
- lib/souschef/testkitchen/solusvm.rb
Overview
Testkitchen Docker configuration
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#cookbook ⇒ Object
Returns the value of attribute cookbook.
Instance Method Summary collapse
-
#initialize(cookbook) ⇒ Solusvm
constructor
A new instance of Solusvm.
-
#yaml ⇒ Object
Public - Return YAML formatted data.
Constructor Details
#initialize(cookbook) ⇒ Solusvm
Returns a new instance of Solusvm.
7 8 9 10 |
# File 'lib/souschef/testkitchen/solusvm.rb', line 7 def initialize(cookbook) @cookbook = cookbook populate_configuration end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
5 6 7 |
# File 'lib/souschef/testkitchen/solusvm.rb', line 5 def config @config end |
#cookbook ⇒ Object
Returns the value of attribute cookbook.
5 6 7 |
# File 'lib/souschef/testkitchen/solusvm.rb', line 5 def cookbook @cookbook end |
Instance Method Details
#yaml ⇒ Object
Public - Return YAML formatted data
Returns String
15 16 17 |
# File 'lib/souschef/testkitchen/solusvm.rb', line 15 def yaml @config.to_yaml end |