lib/contrast/agent/assess/policy/propagator/match_data.rb in contrast-agent-4.10.0 vs lib/contrast/agent/assess/policy/propagator/match_data.rb in contrast-agent-4.11.0

- old
+ new

@@ -13,11 +13,11 @@ class << self def square_bracket_tagger propagation_node, preshift, ret, _block case ret when Array idx = 0 - while idx < ret.size + while idx < ret.length return_value = ret[idx] index = idx idx += 1 next unless return_value @@ -32,11 +32,11 @@ ret end def captures_tagger propagation_node, preshift, ret, _block idx = 0 - while idx < ret.size + while idx < ret.length return_value = ret[idx] index = idx idx += 1 next unless return_value @@ -46,11 +46,11 @@ ret end def to_a_tagger propagation_node, preshift, ret, _block idx = 0 - while idx < ret.size + while idx < ret.length return_value = ret[idx] index = idx idx += 1 next unless return_value @@ -59,10 +59,10 @@ ret end def values_at_tagger propagation_node, preshift, ret, _block idx = 0 - while idx < ret.size + while idx < ret.length return_value = ret[idx] return_index = idx idx += 1 next unless return_value