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

to_i

        # Time.to_i

(from ruby core)
---
    time.to_i   -> int
    time.tv_sec -> int

---

Returns the value of *time* as an integer number of seconds since the
Epoch.

If *time* contains subsecond, they are truncated.

    t = Time.now        #=> 2020-07-21 01:41:29.746012609 +0900
    t.to_i              #=> 1595263289



      

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.