diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 07:37:10 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-04 07:37:10 +0000 |
commit | 2c2cf71b048e42950d5d5f79fe78bc9fea0df158 (patch) | |
tree | 55d50b0856f96e2a2db8d68d8555403078531a61 /parse.y | |
parent | 4cec4edd0bf2361a1769d108c910c4710e3c290b (diff) | |
download | ruby-2c2cf71b048e42950d5d5f79fe78bc9fea0df158.tar.gz |
* 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
Diffstat (limited to 'parse.y')
0 files changed, 0 insertions, 0 deletions