[ruby-cvs:67592] nobu:r60411 (trunk): range.c: check if exclude_end? is defined
nobu at ruby-lang.org
nobu at ruby-lang.org
Wed Oct 25 10:40:15 JST 2017
nobu 2017-10-25 10:40:15 +0900 (Wed, 25 Oct 2017)
New Revision: 60411
https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60411
Log:
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]
Modified files:
trunk/range.c
trunk/test/ruby/test_enum.rb
trunk/test/ruby/test_range.rb
More information about the ruby-cvs
mailing list