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