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

Member predicate StringSubstitutionCall::replaces

Holds if this call to replace replaces old with new.

predicate replaces(string old, string new)