instance method
nsec
Ruby on Rails 4.0.13
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 88
def nsec
(sec_fraction * 1_000_000_000).to_i
end
Defined in activesupport/lib/active_support/core_ext/date_time/conversions.rb line 88
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in DateTime