lib/contrast/agent/assess/policy/propagator/custom.rb in contrast-agent-7.5.0 vs lib/contrast/agent/assess/policy/propagator/custom.rb in contrast-agent-7.6.0
- old
+ new
@@ -15,9 +15,15 @@
# action.
module Custom
extend Contrast::Utils::Assess::EventLimitUtils
class << self
+ # @param propagation_node [Contrast::Agent::Assess::Policy::PropagationNode] the node responsible for the
+ # propagation action required by this method.
+ # @param preshift [Object] pre call state of the things.
+ # @param ret [Object] the return value of the method.
+ # @param block [Proc] the block passed to the method.
+ # @return [Object] the return value of the method.
def propagate propagation_node, preshift, ret, block
clazz = propagation_node.patch_class
method = propagation_node.patch_method
# We cannot flip the String to a Module at patcher creation time -