From ccfbcc730230fddeab6d7f8820c9d232117a07fd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 8 Jun 2022 11:55:21 +0900 Subject: [PATCH] [DOC] RDoc now accepts other than magic numbers at `rb_attr` --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.c b/error.c index 3f5c05d681..c420aaca3c 100644 --- a/error.c +++ b/error.c @@ -2990,7 +2990,7 @@ Init_Exception(void) rb_eLoadError = rb_define_class("LoadError", rb_eScriptError); /* the path failed to load */ - rb_attr(rb_eLoadError, rb_intern_const("path"), 1, 0, Qfalse); + rb_attr(rb_eLoadError, rb_intern_const("path"), TRUE, FALSE, FALSE); rb_eNotImpError = rb_define_class("NotImplementedError", rb_eScriptError);