<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/doc/string/split.rdoc, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[DOC] Fix the default `limit` of String#split</title>
<updated>2024-11-19T03:15:48+00:00</updated>
<author>
<name>Kouhei Yanagita</name>
<email>yanagi@shakenbu.org</email>
</author>
<published>2024-11-18T03:47:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb2b0c2a0d98b1a7929b47574cc2ec87c8c2e984'/>
<id>eb2b0c2a0d98b1a7929b47574cc2ec87c8c2e984</id>
<content type='text'>
We can't pass `nil` as the second parameter of `String#split`.
Therefore, descriptions like "if limit is nil, ..." are not appropriate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can't pass `nil` as the second parameter of `String#split`.
Therefore, descriptions like "if limit is nil, ..." are not appropriate.
</pre>
</div>
</content>
</entry>
<entry>
<title>s/ocurs/occurs/</title>
<updated>2024-02-15T08:01:02+00:00</updated>
<author>
<name>ydah</name>
<email>13041216+ydah@users.noreply.github.com</email>
</author>
<published>2024-02-15T06:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aa6d0bc0bdeebd79788a6c8b32ba8be73392c5d6'/>
<id>aa6d0bc0bdeebd79788a6c8b32ba8be73392c5d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Enhanced RDoc for String (#5726)</title>
<updated>2022-03-28T20:49:18+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-03-28T20:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5525e47a0b5e6b6c3e13ceec4b44535feba22631'/>
<id>5525e47a0b5e6b6c3e13ceec4b44535feba22631</id>
<content type='text'>


Treats:

    #ljust
    #rjust
    #center
    #partition
    #rpartition

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>


Treats:

    #ljust
    #rjust
    #center
    #partition
    #rpartition

</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Use RDoc inclusions in string.c (#5683)</title>
<updated>2022-03-21T19:58:00+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-03-21T19:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c129b6119dfb8d53521b986465c3a85e08d874fe'/>
<id>c129b6119dfb8d53521b986465c3a85e08d874fe</id>
<content type='text'>


As @peterzhu2118 and @duerst have pointed out, putting string method's RDoc into doc/ (which allows non-ASCII in examples) makes the "click to toggle source" feature not work for that method.

This PR moves the primary method doc back into string.c, then includes RDoc from doc/string/*.rdoc, and also removes doc/string.rdoc.

The affected methods are:

    ::new
    #bytes
    #each_byte
    #each_line
    #split

The call-seq is in string.c because it works there; it did not work when the call-seq is in doc/string/*.rdoc.

This PR also updates the relevant guidance in doc/documentation_guide.rdoc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>


As @peterzhu2118 and @duerst have pointed out, putting string method's RDoc into doc/ (which allows non-ASCII in examples) makes the "click to toggle source" feature not work for that method.

This PR moves the primary method doc back into string.c, then includes RDoc from doc/string/*.rdoc, and also removes doc/string.rdoc.

The affected methods are:

    ::new
    #bytes
    #each_byte
    #each_line
    #split

The call-seq is in string.c because it works there; it did not work when the call-seq is in doc/string/*.rdoc.

This PR also updates the relevant guidance in doc/documentation_guide.rdoc.
</pre>
</div>
</content>
</entry>
</feed>
