diff options
| author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-17 01:32:16 +0000 |
|---|---|---|
| committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-17 01:32:16 +0000 |
| commit | 559b717567e61206294a310cdeedea9f28426e22 (patch) | |
| tree | 325edbd741eeb51db9eb94dcf7c2a1819e2520f9 /ext | |
| parent | 9d5b1a51d60f53adb5f3cc6c9c2344770725c94e (diff) | |
Merge commit r32994 from trunk:
* rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
part. [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions
