From 465bd972ec2149be000dad9125bb8f4ab6762699 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 30 Aug 2021 13:20:03 +0900 Subject: [DOC] Move rdoc of Integer#abs to numeric.rb [ci skip] --- numeric.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 755051de2a..bdf6b26a6f 100644 --- a/numeric.c +++ b/numeric.c @@ -4670,22 +4670,6 @@ int_to_f(VALUE num) return DBL2NUM(val); } -/* - * Document-method: Integer#abs - * Document-method: Integer#magnitude - * call-seq: - * int.abs -> integer - * int.magnitude -> integer - * - * Returns the absolute value of +int+. - * - * (-12345).abs #=> 12345 - * -12345.abs #=> 12345 - * 12345.abs #=> 12345 - * - * Integer#magnitude is an alias for Integer#abs. - */ - static VALUE fix_abs(VALUE fix) { -- cgit v1.2.3