summaryrefslogtreecommitdiff
path: root/spec/mspec/.travis.yml
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-27 16:45:09 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-27 16:45:09 +0000
commitfe2a6f65b1108fc71d269daaf1c7f4d89ebec0cb (patch)
tree822d5d361d37977ece6a0dc0d85f04c549151d18 /spec/mspec/.travis.yml
parent71ee64a5b1e3c0937213a68f883bece12aa24a82 (diff)
Support two `to_r`-responding args in Rational()
* rational.c (nurat_s_convert): call `to_r` to convert non-Numeric objects also if argc == 2 in Rational(). * test/ruby/test_rational.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec/.travis.yml')
0 files changed, 0 insertions, 0 deletions