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