Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Bignumクラス > abs

instance method Bignum#abs

abs -> Fixnum | Bignum[permalink][rdoc]

self の絶対値を返します。