class Time

def sec_fraction

Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2)

Returns the fraction of a second as a +Rational+
def sec_fraction
  subsec
end