<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/doc/string, 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>String.new(capacity:) don't substract termlen</title>
<updated>2024-06-19T13:11:07+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2024-06-19T12:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=83f57ca3d225ce06abbc5eef6aec37de4fa36d58'/>
<id>83f57ca3d225ce06abbc5eef6aec37de4fa36d58</id>
<content type='text'>
[Bug #20585]

This was changed in 36a06efdd9f0604093dccbaf96d4e2cb17874dc8 because
`String.new(1024)` would end up allocating `1025` bytes, but the problem
with this change is that the caller may be trying to right size a String.

So instead, we should just better document the behavior of `capacity:`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #20585]

This was changed in 36a06efdd9f0604093dccbaf96d4e2cb17874dc8 because
`String.new(1024)` would end up allocating `1025` bytes, but the problem
with this change is that the caller may be trying to right size a String.

So instead, we should just better document the behavior of `capacity:`.
</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>Remove (newly unneeded) remarks about aliases</title>
<updated>2023-02-19T22:26:34+00:00</updated>
<author>
<name>BurdetteLamar</name>
<email>burdettelamar@yahoo.com</email>
</author>
<published>2023-02-19T20:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3b239d2480123046a59a75f1089ab58d192b9c57'/>
<id>3b239d2480123046a59a75f1089ab58d192b9c57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Update `String#encode` special case</title>
<updated>2023-01-16T10:44:40+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-01-16T10:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a2748c500d776fe0386271b4458fa3fd1c0dd56d'/>
<id>a2748c500d776fe0386271b4458fa3fd1c0dd56d</id>
<content type='text'>
This behavior has been slightly extended with the addition of
`String#scrub`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This behavior has been slightly extended with the addition of
`String#scrub`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Explain that transcoding to the same encoding just copies.</title>
<updated>2023-01-16T07:30:15+00:00</updated>
<author>
<name>Martin Dürst</name>
<email>duerst@it.aoyama.ac.jp</email>
</author>
<published>2023-01-16T07:25:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=11f28f3268f9234b6310bc659de7e46dfc5c0706'/>
<id>11f28f3268f9234b6310bc659de7e46dfc5c0706</id>
<content type='text'>
This is a reenstatement of the explanation in commit
463633e4a934a00f869086a6ffbf84c6cb8ad630 to partially
address Bug #19342.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a reenstatement of the explanation in commit
463633e4a934a00f869086a6ffbf84c6cb8ad630 to partially
address Bug #19342.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Use RDoc inclusions in transcode.c</title>
<updated>2023-01-16T04:38:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-01-15T13:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=468ce1488d26ffc92c940324794dc9257f72b5d2'/>
<id>468ce1488d26ffc92c940324794dc9257f72b5d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix markup for `String` (#5984)</title>
<updated>2022-06-09T18:40:21+00:00</updated>
<author>
<name>Alexander Ilyin</name>
<email>alexander.ilyin11@gmail.com</email>
</author>
<published>2022-06-09T18:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=adcfd6969070c3c51b35221d183728bbde8b8539'/>
<id>adcfd6969070c3c51b35221d183728bbde8b8539</id>
<content type='text'>
* Add missing space for `String#start_with?`.
* Add missing pluses for `String#tr` and
  `Methods for Converting to New String` label.
* Move quote into the tag for `Whitespace in Strings` label.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add missing space for `String#start_with?`.
* Add missing pluses for `String#tr` and
  `Methods for Converting to New String` label.
* Move quote into the tag for `Whitespace in Strings` label.</pre>
</div>
</content>
</entry>
<entry>
<title>All-in-one RDoc for class String (#5777)</title>
<updated>2022-04-07T19:29:04+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-04-07T19:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9ca3d537b9dffba416bd37dfb25466f2cebc8510'/>
<id>9ca3d537b9dffba416bd37dfb25466f2cebc8510</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 slices (#5769)</title>
<updated>2022-04-06T20:47:22+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-04-06T20:47:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=717b20ee305e523123bbb18d54fe8e87a78a9cb1'/>
<id>717b20ee305e523123bbb18d54fe8e87a78a9cb1</id>
<content type='text'>
Creates file doc/string/slices.rdoc that the string slicing methods can link to.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Creates file doc/string/slices.rdoc that the string slicing methods can link to.</pre>
</div>
</content>
</entry>
</feed>
