Project

General

Profile

Bug #12980

Time - Time to return a Rational

Added by matsuda (Akira Matsuda) almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-11-25 trunk 56897) [x86_64-darwin15]
[ruby-core:78327]

Description

Currently subtracting a Time from a Time returns a Float, which I guess causes #12952

Is there any reason this doesn't return a Rational?

Also available in: Atom PDF