module Loki

Public Instance Methods

to_ns(s) click to toggle source
# File lib/logstash/outputs/loki/entry.rb, line 2
def to_ns(s)
    (s.to_f * (10**9)).to_i
end