diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-30 13:20:03 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-30 13:33:52 +0900 |
commit | 465bd972ec2149be000dad9125bb8f4ab6762699 (patch) | |
tree | 72d9ecf9b59c43fd32f6698899b82181e16440cc /numeric.c | |
parent | 66a4768f65423189e61d39a473a031a5eb0253ea (diff) | |
download | ruby-465bd972ec2149be000dad9125bb8f4ab6762699.tar.gz |
[DOC] Move rdoc of Integer#abs to numeric.rb [ci skip]
Diffstat (limited to 'numeric.c')
-rw-r--r-- | numeric.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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) { |