Thanks to visit codestin.com
Credit goes to codeql.github.com

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

Primitive predicate string::prefix

Returns the substring of the receiver ending at the given 0-based exclusive offset

string prefix(int endPos)