[ruby-cvs:53806] nobu:r46660 (trunk): hash.c: use rb_check_arity

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jul 2 17:25:25 JST 2014


nobu	2014-07-02 17:25:21 +0900 (Wed, 02 Jul 2014)

  New Revision: 46660

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

  Log:
    hash.c: use rb_check_arity
    
    * hash.c (rb_hash_initialize, rb_hash_fetch_m, rb_hash_default):
      use rb_check_arity over rb_scan_args.
      (env_fetch): ditto.

  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list