diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-25 11:42:43 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-25 11:42:43 +0000 |
commit | 4c637ebf285e444b23945edf3f65e8f99246a1f1 (patch) | |
tree | 8bd48e8ebc2c1be3254f139d33b1140baf2781c8 /enc | |
parent | ef968551c8a52f33939d46db20557320f4a2ecc9 (diff) | |
download | ruby-4c637ebf285e444b23945edf3f65e8f99246a1f1.tar.gz |
no longer rescue exceptions of #<=> when initializing a Range
* range.c (range_init): no longer hide the user exception
with a ArgumentError, just let the user exception go through.
* test/ruby/test_range.rb (test_new): add tests.
[Feature #7688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
0 files changed, 0 insertions, 0 deletions