Skip to content

Commit

Permalink
ruby 2.7 can do *args, **kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 15, 2024
1 parent 6e529f2 commit 192ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/di/instrumenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 192ae0a

Please sign in to comment.