This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

succ

        # Integer.succ

(from ruby core)
---
    succ -> next_integer

---

Returns the successor integer of `self` (equivalent to `self + 1`):

    1.succ  #=> 2
    -1.succ #=> 0

Integer#next is an alias for Integer#succ.

Related: Integer#pred (predecessor value).



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.