string_rdoc.patch

fix type of rdoc - Andrei Kulakov, 01/19/2011 02:32 AM

Download (594 Bytes)

View differences:

string.c (working copy)
2577 2577
 *  against <i>str</i>,and returns the position the match starts, or
2578 2578
 *  <code>nil</code> if there is no match. Otherwise, invokes
2579 2579
 *  <i>obj.=~</i>, passing <i>str</i> as an argument. The default
2580
 *  <code>=~</code> in <code>Object</code> returns <code>false</code>.
2580
 *  <code>=~</code> in <code>Object</code> returns <code>nil</code>.
2581 2581
 *
2582 2582
 *     "cat o' 9 tails" =~ /\d/   #=> 7
2583 2583
 *     "cat o' 9 tails" =~ 9      #=> nil