lib/contrast/utils/assess/tracking_util.rb in contrast-agent-6.1.0 vs lib/contrast/utils/assess/tracking_util.rb in contrast-agent-6.1.1
- old
+ new
@@ -48,13 +48,13 @@
return false if obj.nil?
return false if idx > 10
idx += 1
if Contrast::Utils::DuckUtils.iterable_hash?(obj)
- handle_hash obj, idx
+ handle_hash(obj, idx)
elsif Contrast::Utils::DuckUtils.iterable_enumerable?(obj)
- handle_enumerable obj, idx
+ handle_enumerable(obj, idx)
else
Contrast::Agent::Assess::Tracker.tracked?(obj)
end
rescue StandardError => e
# This is used to ask if a ton of objects are tracked. They may not
@@ -77,12 +77,12 @@
return false if obj.nil?
return false if idx > 10
idx += 1
if Contrast::Utils::DuckUtils.iterable_hash?(obj)
- handle_hash obj, idx
+ handle_hash(obj, idx)
elsif Contrast::Utils::DuckUtils.iterable_enumerable?(obj)
- handle_enumerable obj, idx
+ handle_enumerable(obj, idx)
else
Contrast::Agent::Assess::Tracker.trackable?(obj)
end
rescue StandardError => e
# This is used to ask if a ton of objects are tracked. They may not