method

sec_fraction

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: Time
sec_fraction() public

Returns the fraction of a second as a Rational

Time.new(2012, 8, 29, 0, 0, 0.5).sec_fraction # => (1/2)
Show source
Register or log in to add new notes.