lib/contrast/agent/rewriter.rb in contrast-agent-3.9.1 vs lib/contrast/agent/rewriter.rb in contrast-agent-3.10.0
- old
+ new
@@ -8,11 +8,13 @@
cs__scoped_require 'contrast/components/interface'
cs__scoped_require 'contrast/utils/ruby_ast_rewriter'
module Contrast
module Agent
- # Used for Ruby 2.4 & 2.5 to allow us to rewrite those methods which have
+ # Used for Ruby 2.5 to allow us to rewrite those methods which have
# interpolation in them.
+ #
+ # TODO: RUBY-714 remove w/ EOL of 2.5
# @deprecated Changes to this class are discouraged as this approach is
# being phased out with support for those language versions.
class Rewriter
include Contrast::Components::Interface
access_component :logging, :scope