Project

General

Profile

« Previous | Next » 

Revision 8d6add97

Added by nobu (Nobuyoshi Nakada) over 11 years ago

hash.c: raise on invalid input

  • hash.c (rb_hash_s_create): raise an exception, when input elements
    are not one or two elements arrays. [ruby-core:39945] [Bug #5406]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e