Files
codeql/ql/test/TestUtilities/InlineExpectationsTestPrivate.qll
2021-07-27 18:43:44 +02: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) }
}