Files
codeql/ruby/downgrades/3595c826de6db850f16b9da265a54dbf24dd3126/ruby_singleton_class_child.ql
Anders Schack-Mulligen a5d229903d Ruby: Autoformat
2023-03-10 09:41:20 +01:00

10 lines
303 B
Plaintext

class AstNode extends @ruby_ast_node {
string toString() { none() }
}
from AstNode ruby_singleton_class, AstNode body, int index, AstNode child
where
ruby_singleton_class_body(ruby_singleton_class, body) and
ruby_body_statement_child(body, index, child)
select ruby_singleton_class, index, child