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 | 62fb6147cde44c2c697ea8c160b724d029e1cd87 (patch) | |
tree | f7a9d19f61c354c953e6a3a1694fa2aa0fd80ce3 /enc | |
parent | 92e2a7048ef575bab6b166533340e91a8281d62a (diff) |
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 'enc')
0 files changed, 0 insertions, 0 deletions