method

pred

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

Returns the Integer equal to int - 1.

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