summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-08 11:55:21 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-08 11:55:21 +0900
commitccfbcc730230fddeab6d7f8820c9d232117a07fd (patch)
tree0217f78774e9e5074203c342ecd50e1d33b3d10c /error.c
parentbf4684d9992615b84781f0f688624c95e0ecaadb (diff)
downloadruby-ccfbcc730230fddeab6d7f8820c9d232117a07fd.tar.gz
[DOC] RDoc now accepts other than magic numbers at `rb_attr`
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
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);