Module: CMDx::Mergers::DeepMerge Private
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Recursively merges Hash values from the parallel task's context into
the workflow context. Scalar-vs-hash collisions still follow
last-write-wins.
Instance Method Summary collapse
- #call(ctx, result) ⇒ void private
Instance Method Details
#call(ctx, result) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
17 18 19 |
# File 'lib/cmdx/mergers/deep_merge.rb', line 17 def call(ctx, result) ctx.deep_merge(result.context) end |