summaryrefslogtreecommitdiff
path: root/numeric.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-01-30 13:12:06 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-01-30 13:12:34 -0800
commit006682d3915ce065687c3d54a0b1eb91439b28e9 (patch)
treebf095670387b4bcc77839bd02581ef0d933128b7 /numeric.rb
parent07d1b3ddc3995a4dee4eca10e8710253f7881405 (diff)
downloadruby-006682d3915ce065687c3d54a0b1eb91439b28e9.tar.gz
Avoid leaving an uneeded comment
465bd972ec2 didn't need to leave the obsoleted code.
Diffstat (limited to 'numeric.rb')
-rw-r--r--numeric.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/numeric.rb b/numeric.rb
index 0a1f14865f..49e14bff49 100644
--- a/numeric.rb
+++ b/numeric.rb
@@ -186,12 +186,6 @@ class Integer
end
alias magnitude abs
-=begin
- def magnitude
- Primitive.attr! 'inline'
- Primitive.cexpr! 'rb_int_abs(self)'
- end
-=end
# call-seq:
# int.odd? -> true or false