summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-05-18 11:48:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-05-18 11:48:59 +0900
commit89d29264158946a62af8874b4f04e553b0528630 (patch)
tree8e62f49776683933d71db15d1d376d5eaf6d92f3 /src
parentbd7328f5e606a59db25c6c17534f7db6c21fc13c (diff)
downloadmruby-89d29264158946a62af8874b4f04e553b0528630.tar.gz
mruby-89d29264158946a62af8874b4f04e553b0528630.zip
Add ISO section number to `Module#===`.
Diffstat (limited to 'src')
-rw-r--r--src/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index 9d26851b9..4cc60ab67 100644
--- a/src/class.c
+++ b/src/class.c
@@ -2191,7 +2191,7 @@ mrb_init_class(mrb_state *mrb)
mrb_define_method(mrb, mod, "const_missing", mrb_mod_const_missing, MRB_ARGS_REQ(1));
mrb_define_method(mrb, mod, "method_defined?", mrb_mod_method_defined, MRB_ARGS_REQ(1)); /* 15.2.2.4.34 */
mrb_define_method(mrb, mod, "define_method", mod_define_method, MRB_ARGS_ARG(1,1));
- mrb_define_method(mrb, mod, "===", mrb_mod_eqq, MRB_ARGS_REQ(1));
+ mrb_define_method(mrb, mod, "===", mrb_mod_eqq, MRB_ARGS_REQ(1)); /* 15.2.2.4.7 */
mrb_undef_method(mrb, cls, "append_features");
mrb_undef_method(mrb, cls, "extend_object");