From 3afc9335993e72dc60390b35e98bb18961c3c935 Mon Sep 17 00:00:00 2001 From: gogotanaka Date: Sun, 12 Oct 2014 21:38:17 -0700 Subject: [PATCH 1/2] Remove Nuby method from complex.c --- complex.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/complex.c b/complex.c index b65bc8a..56441b1 100644 --- a/complex.c +++ b/complex.c @@ -2115,10 +2115,6 @@ Init_Complex(void) rb_undef_method(rb_cComplex, "truncate"); rb_undef_method(rb_cComplex, "i"); -#if 0 /* NUBY */ - rb_undef_method(rb_cComplex, "//"); -#endif - rb_define_method(rb_cComplex, "real", nucomp_real, 0); rb_define_method(rb_cComplex, "imaginary", nucomp_imag, 0); rb_define_method(rb_cComplex, "imag", nucomp_imag, 0); -- 1.9.3 (Apple Git-50)