Returns the fraction of a second as a Rational
Rational
Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2)
107 108 109
# File 'activesupport/lib/active_support/core_ext/time/calculations.rb', line 107 def sec_fraction subsec end