instance method
usec
Ruby on Rails 4.1.16
Since v4.0.13Signature
usec()
Returns the fraction of a second as microseconds
Source
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 85
def usec
(sec_fraction * 1_000_000).to_i
end
Defined in activesupport/lib/active_support/core_ext/date_time/conversions.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateTime