Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)

Member predicate StringConcatenation::getConcatenatedValueText

Gets the result of concatenating all the string literals, if and only if they do not contain any interpolations.

For the following example, the result is "foobar":

"foo" 'bar'

And for the following example, where one of the string literals includes an interpolation, there is no result:

"foo" "bar#{ n }"
string getConcatenatedValueText()