method

subsec

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: DateTime
subsec() public

Returns the fraction of a second as a Rational

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