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

usec

        # Time.usec

(from ruby core)
---
    usec()

---

Returns the number of microseconds for the subsecond part of *time*. The
result is a non-negative integer less than 10**6.

    t = Time.now        #=> 2020-07-20 22:05:58.459785953 +0900
    t.usec              #=> 459785

If *time* has fraction of microsecond (such as nanoseconds), it is
truncated.

    t = Time.new(2000,1,1,0,0,0.666_777_888_999r)
    t.usec              #=> 666777

Time#subsec can be used to obtain the subsecond part exactly.


(This method is an alias for Time#tv_usec.)

Returns the number of microseconds for the subsecond part of *time*. The
result is a non-negative integer less than 10**6.

    t = Time.now        #=> 2020-07-20 22:05:58.459785953 +0900
    t.usec              #=> 459785

If *time* has fraction of microsecond (such as nanoseconds), it is
truncated.

    t = Time.new(2000,1,1,0,0,0.666_777_888_999r)
    t.usec              #=> 666777

Time#subsec can be used to obtain the subsecond part exactly.



      

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.