aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-16 03:32:16 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-16 03:32:16 +0000
commit11fc415f4eeda449b5b3da389e015f20bbf23f4b (patch)
treef7a9d19f61c354c953e6a3a1694fa2aa0fd80ce3 /vm_method.c
parent35d037b46513c78920967806cf9867b0ac2ff36d (diff)
downloadruby-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 'vm_method.c')
0 files changed, 0 insertions, 0 deletions