Does Ruby stdlib have any objects that represent difference between two timestamps? Subtracting two Time
object from each other returns a float number of seconds - is there any object for that, with methods like hours
, minutes
etc., and most of all decent to_s
?
I've coded half-assed methods for that far too many time, am I doing it wrong?