Files
codeql/ql/test/TestUtilities/InlineExpectationsTestPrivate.qll
2021-08-26 18:48:53 -04:00

10 lines
217 B
Plaintext

import ruby
import codeql.ruby.ast.internal.TreeSitter
/**
* A class representing line comments in Ruby.
*/
class LineComment extends Ruby::Comment {
string getContents() { result = this.getValue().suffix(1) }
}