summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorKouhei Yanagita <yanagi@shakenbu.org>2022-05-27 15:46:46 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-08-12 15:57:52 +0900
commit4165fd0e763439421296fbc95d754ad53e6ae84f (patch)
tree30aaa3a05d87130965029484780cd28d06c1a1f0 /complex.c
parentcd1a0b3caaa5446e9258c192cf483b6dfe8d7819 (diff)
downloadruby-4165fd0e763439421296fbc95d754ad53e6ae84f.tar.gz
Add Numeric#ceildiv and Integer#ceildiv
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/complex.c b/complex.c
index d625ced7fa..865466c499 100644
--- a/complex.c
+++ b/complex.c
@@ -2335,6 +2335,7 @@ Init_Complex(void)
rb_undef_method(rb_cComplex, "%");
rb_undef_method(rb_cComplex, "div");
rb_undef_method(rb_cComplex, "divmod");
+ rb_undef_method(rb_cComplex, "ceildiv");
rb_undef_method(rb_cComplex, "floor");
rb_undef_method(rb_cComplex, "ceil");
rb_undef_method(rb_cComplex, "modulo");