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

remainder

        # Integer.remainder

(from ruby core)
---
    remainder(other) -> real_number

---

Returns the remainder after dividing `self` by `other`.

Examples:

    11.remainder(4)              # => 3
    11.remainder(-4)             # => 3
    -11.remainder(4)             # => -3
    -11.remainder(-4)            # => -3

    12.remainder(4)              # => 0
    12.remainder(-4)             # => 0
    -12.remainder(4)             # => 0
    -12.remainder(-4)            # => 0

    13.remainder(4.0)            # => 1.0
    13.remainder(Rational(4, 1)) # => (1/1)



      

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.