Object
Provides # as the opposite of #.
3.pred(2) #=> 1
CREDIT: Trans
# File lib/more/facets/succ.rb, line 19 19: def pred(n=1) 20: self - n 21: end
Allows # to take n increments.
3.succ(2) #=> 5
# File lib/more/facets/succ.rb, line 9 9: def succ(n=1) 10: self + n 11: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.