Project

General

Profile

« Previous | Next » 

Revision 2c2cf71b

Added by matz (Yukihiro Matsumoto) over 15 years ago

  • time.c (num_exact): should not accept strings as operands, even
    though they respond to #to_r. ideally, strict rational
    conversion should be done by a method like #to_rational, not #to_r.
    [ruby-core:23729]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e