Method: Fluent::EventTime#to_r

Defined in:
lib/fluent/time.rb

#to_rObject

for Time.at



60
61
62
# File 'lib/fluent/time.rb', line 60

def to_r
  Rational(@sec * 1_000_000_000 + @nsec, 1_000_000_000)
end