[ruby-cvs:61954] nobu:r54792 (trunk): stringio.c: warn block for new

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Apr 27 15:47:56 JST 2016


nobu	2016-04-27 15:47:56 +0900 (Wed, 27 Apr 2016)

  New Revision: 54792

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

  Log:
    stringio.c: warn block for new
    
    * ext/stringio/stringio.c (strio_s_new): warn if a block is given,
      as well as IO.new.

  Modified files:
    trunk/ChangeLog
    trunk/ext/stringio/stringio.c
    trunk/test/stringio/test_stringio.rb


More information about the ruby-cvs mailing list