diff --git a/lib/datadog/di/instrumenter.rb b/lib/datadog/di/instrumenter.rb index 9074fb76b7..1f6ad1a54d 100644 --- a/lib/datadog/di/instrumenter.rb +++ b/lib/datadog/di/instrumenter.rb @@ -105,7 +105,7 @@ def hook_method(probe, &block) serializer.serialize_args(args, kwargs) end rv = nil - # Under Ruby 2.x we cannot just call super(*args, **kwargs) + # Under Ruby 2.6 we cannot just call super(*args, **kwargs) duration = Benchmark.realtime do # steep:ignore rv = if args.any? if kwargs.any?