Class: Kitchen::DataMunger
- Inherits:
-
Object
- Object
- Kitchen::DataMunger
- Defined in:
- lib/kitchen/binding/core_ext/data_munger.rb
Overview
Add some additioanl methods to Kitchen::DataMunger to allow use of Kitchen::Binding
Instance Method Summary collapse
-
#binding_data_for(suite, platform) ⇒ Hash
Generate a new Hash of configuration data that can be used to construct a new Binding object.
Instance Method Details
#binding_data_for(suite, platform) ⇒ Hash
Generate a new Hash of configuration data that can be used to construct a new Binding object.
30 31 32 33 34 35 36 |
# File 'lib/kitchen/binding/core_ext/data_munger.rb', line 30 def binding_data_for(suite, platform) merged_data_for(:binding, suite, platform).tap do |bdata| set_kitchen_config_at!(bdata, :kitchen_root) set_kitchen_config_at!(bdata, :test_base_path) set_kitchen_config_at!(bdata, :log_level) end end |