[ruby-cvs:51847] nobu:r44702 (trunk): class.c: allow nil keyword_hash

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jan 25 11:16:20 JST 2014


nobu	2014-01-25 11:16:20 +0900 (Sat, 25 Jan 2014)

  New Revision: 44702

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44702

  Log:
    class.c: allow nil keyword_hash
    
    * class.c (rb_extract_keywords): treat nil keyword_hash same as 0,
      for the case rb_scan_args returns nil if no keyword hash.

  Modified files:
    trunk/ChangeLog
    trunk/class.c


More information about the ruby-cvs mailing list