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

Member predicate StringSubstitutionCall::isDestructive

Holds if this is a destructive substitution, i.e. this is a call to sub! or gsub!.

predicate isDestructive()