diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 03:32:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-16 03:32:16 +0000 |
commit | 11fc415f4eeda449b5b3da389e015f20bbf23f4b (patch) | |
tree | f7a9d19f61c354c953e6a3a1694fa2aa0fd80ce3 /debug.c | |
parent | 35d037b46513c78920967806cf9867b0ac2ff36d (diff) | |
download | ruby-11fc415f4eeda449b5b3da389e015f20bbf23f4b.tar.gz |
rational.c: read_num
* rational.c (read_num): use rb_int_parse_cstr to parse integer
parts, and make String#to_r consistent with #to_i and #to_f.
[ruby-core:80098] [Bug #13105]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions