From 3b239d2480123046a59a75f1089ab58d192b9c57 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sun, 19 Feb 2023 20:16:04 +0000 Subject: Remove (newly unneeded) remarks about aliases --- numeric.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'numeric.rb') diff --git a/numeric.rb b/numeric.rb index e852c85bf9..95e33a9403 100644 --- a/numeric.rb +++ b/numeric.rb @@ -116,7 +116,6 @@ class Integer # -12345.abs #=> 12345 # 12345.abs #=> 12345 # - # Integer#magnitude is an alias for Integer#abs. def abs Primitive.attr! 'inline' Primitive.cexpr! 'rb_int_abs(self)' @@ -235,8 +234,6 @@ class Integer # int.to_i -> integer # # Since +int+ is already an Integer, returns +self+. - # - # #to_int is an alias for #to_i. def to_i self end @@ -318,8 +315,6 @@ class Float # -34.56.abs #=> 34.56 # 34.56.abs #=> 34.56 # - # Float#magnitude is an alias for Float#abs. - # def abs Primitive.attr! 'inline' Primitive.cexpr! 'rb_float_abs(self)' -- cgit v1.2.1