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

truncate

        # Numeric.truncate

(from ruby core)
---
    truncate(digits = 0) -> integer or float

---

Returns `self` truncated (toward zero) to a precision of `digits`
decimal digits.

Numeric implements this by converting `self` to a Float and invoking
Float#truncate.



      

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.