Difference between .next and .succ in Ruby
1 answer
They are equivalent. Fixnum#succ
is just synonymous Fixnum#next
.
They even share the same block in the reference guide .
+9
source to share