CodeQL library for Ruby
codeql/ruby-all 3.0.1-dev (changelog, source)
Search

Member predicate StringSubstitutionCall::replaces

Holds if this call to replace replaces old with new.

predicate replaces(string old, string new)