Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Integer > pred
pred -> Integer
self から -1 した値を返します。
1.pred #=> 0 (-1).pred #=> -2