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

to_r

        # Time.to_r

(from ruby core)
---
    time.to_r -> a_rational

---

Returns the value of *time* as a rational number of seconds since the
Epoch.

    t = Time.now      #=> 2020-07-20 22:03:45.212167333 +0900
    t.to_r            #=> (1595250225212167333/1000000000)

This method is intended to be used to get an accurate value representing
the seconds (including subsecond) since the Epoch.



      

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.