--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the <tt>Integer</tt> equal to <em>int</em> + 1.
- !ruby/struct:SM::Flow::VERB
body: " 1.next #=> 2\n (-1).next #=> 0\n"
full_name: Integer#succ
is_singleton: false
name: succ
params: |
int.next => integer
int.succ => integer
visibility: public