[ruby-cvs:57650] nobu:r50502 (trunk): range.c: move String specific code

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 15 21:39:57 JST 2015


nobu	2015-05-15 21:39:56 +0900 (Fri, 15 May 2015)

  New Revision: 50502

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

  Log:
    range.c: move String specific code
    
    * range.c (range_include): call rb_str_include_range_p on String.
    
    * string.c (str_upto_each): extract from rb_str_upto.
    
    * string.c (rb_str_include_range_p): move String specific code
      from Range#include? in range.c.

  Modified files:
    trunk/range.c
    trunk/string.c


More information about the ruby-cvs mailing list