[ruby-cvs:62092] nobu:r54929 (trunk): random.c: prefer rb_check_arity

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 6 15:52:36 JST 2016


nobu	2016-05-06 15:52:36 +0900 (Fri, 06 May 2016)

  New Revision: 54929

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

  Log:
    random.c: prefer rb_check_arity
    
    * random.c: use rb_check_arity instead of rb_scan_args for simple
      optional arguments.

  Modified files:
    trunk/random.c


More information about the ruby-cvs mailing list