Module: PoiseBoiler::Kitchen
- Defined in:
- lib/poise_boiler/kitchen.rb
Overview
Helpers for Test-Kitchen and .kitchen.yml configuration.
Class Method Summary collapse
- .instance ⇒ Object
-
.kitchen(**options) ⇒ Object
Return a YAML string suitable for inclusion in a .kitchen.yml config.
Class Method Details
.instance ⇒ Object
25 26 27 |
# File 'lib/poise_boiler/kitchen.rb', line 25 def self.instance @instance end |
.kitchen(**options) ⇒ Object
Return a YAML string suitable for inclusion in a .kitchen.yml config. This will include the standard Poise/Halite boilerplate and some default values.
37 38 39 40 |
# File 'lib/poise_boiler/kitchen.rb', line 37 def self.kitchen(**) @instance = PoiseBoiler::Helpers::Kitchen.new(**) @instance.to_yaml end |