summaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-18 13:41:44 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-18 13:41:44 +0000
commit7b974232fd5458b96996dfd7e3b5420aadb46b01 (patch)
treeceacba47fb0d461ee9846a40f194c2a87544bbb3 /numeric.c
parent98a08fe6aae9b1cc8bdb1658407e27d4c28a591c (diff)
downloadruby-7b974232fd5458b96996dfd7e3b5420aadb46b01.tar.gz
ruby-7b974232fd5458b96996dfd7e3b5420aadb46b01.tar.xz
ruby-7b974232fd5458b96996dfd7e3b5420aadb46b01.zip
* rational.c (nurat_s_convert): calls to_r when the given argument
is non-integer. * rational.c (nurat_s_convert): raises TypeError when the given argument is nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
0 files changed, 0 insertions, 0 deletions