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

Member predicate StringSubstitutionCall::replaces

Holds if this call to replace replaces old with new.

predicate replaces(string old, string new)