method

pred

v2_4_6 - Show latest stable - Class: Integer
pred()
public

Returns the Integer equal to int - 1.

1.pred      #=> 0
(-1).pred   #=> -2