[ruby-cvs:67597] nobu:r60416 (trunk): range.c: use rb_check_funcall

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Oct 25 14:23:54 JST 2017


nobu	2017-10-25 14:23:54 +0900 (Wed, 25 Oct 2017)

  New Revision: 60416

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60416

  Log:
    range.c: use rb_check_funcall
    
    * range.c (rb_range_values): use rb_check_funcall instead of
      calling rb_respond_to then rb_funcall, and allow `begin` and
      `end` to be private as well as other internal conversions.
      [ruby-core:83541] [Bug #14048]

  Modified files:
    trunk/range.c
    trunk/test/ruby/test_range.rb


More information about the ruby-cvs mailing list