
      proc do
        def to_s(*args, &block)
          _ =
          begin
            @history
          end
          unless defined? _.to_s
            ::Kernel.warn "TTY::Reader::History#to_s at /opt/gitlab/embedded/lib/ruby/3.1.0/forwardable.rb:157 forwarding to private method ""#{_.class}"'#to_s', uplevel: 1
            _.__send__(:to_s, *args, &block)
          else
            _.to_s(*args, &block)
          end
        end
      end
