diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-25 01:40:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-25 01:40:15 +0000 |
commit | 0ba049256e1b8b17f68c45266396ed1e3976481b (patch) | |
tree | 401a744bf49a200f1cd80a27e26ff5264107deaf /spec/mspec/lib | |
parent | bb2aa9b3434cc92dd7acf40ce26d12672aaf6597 (diff) |
range.c: check if exclude_end? is defined
* range.c (rb_range_values): should raise TypeError if necessary
method is not defined, not NoMethodError, when trying to tell if
the object is a Range and extract info.
[ruby-core:83541] [Bug #14048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec/lib')
0 files changed, 0 insertions, 0 deletions