Flowdock
pred() public

Returns the predecessor of int, i.e. the Integer equal to int-1.

1.pred      #=> 0
(-1).pred   #=> -2
Show source
Register or log in to add new notes.