diff --git a/ql/src/codeql_ruby/ast/Statement.qll b/ql/src/codeql_ruby/ast/Statement.qll index 8e52135a3ba..e30f0c15fd7 100644 --- a/ql/src/codeql_ruby/ast/Statement.qll +++ b/ql/src/codeql_ruby/ast/Statement.qll @@ -83,8 +83,8 @@ class UndefStmt extends Stmt, @undef { * An `alias` statement. For example: * ```rb * - alias alias_name method_name - * - undef foo :method_name - * - undef bar :"method_#{ name }" + * - alias foo :method_name + * - alias bar :"method_#{ name }" * ``` */ class AliasStmt extends Stmt, @alias {