<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/pack.rb, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Reorganize page documentations (#15154)</title>
<updated>2025-11-27T20:12:24+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2025-11-27T20:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4cd6661e1853930c8002174c4ccd14f927fcd33b'/>
<id>4cd6661e1853930c8002174c4ccd14f927fcd33b</id>
<content type='text'>
Re-organize page docs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-organize page docs</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Tweaks for String#unpack</title>
<updated>2025-11-16T21:26:11+00:00</updated>
<author>
<name>BurdetteLamar</name>
<email>burdettelamar@yahoo.com</email>
</author>
<published>2025-11-16T20:40:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43e26d02df845e9fc0ee597cbfa4425537e76020'/>
<id>43e26d02df845e9fc0ee597cbfa4425537e76020</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Tweaks for String#unpack1</title>
<updated>2025-11-16T21:24:48+00:00</updated>
<author>
<name>BurdetteLamar</name>
<email>burdettelamar@yahoo.com</email>
</author>
<published>2025-11-16T20:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00521434a4a727e5a312ac9a42d48572ffa6388a'/>
<id>00521434a4a727e5a312ac9a42d48572ffa6388a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Mention block mode of `String#unpack`</title>
<updated>2024-09-29T10:09:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-09-29T10:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=65a0795c3f92be5bff27211600cf3a832ab43b2f'/>
<id>65a0795c3f92be5bff27211600cf3a832ab43b2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>show warning for unused block</title>
<updated>2024-04-15T03:08:07+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2024-03-26T22:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9180e33ca3a5886fec3f9e0a2f48072b55914e65'/>
<id>9180e33ca3a5886fec3f9e0a2f48072b55914e65</id>
<content type='text'>
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a
for `test-bundled-gems`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.

Warning on:

* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
  (`obj.foo{}` will be warned once if `foo` is same method)

[Feature #15554]

`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.

For minitest, test needs some tweak, so use
https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a
for `test-bundled-gems`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Link to packed data doc (#6567)</title>
<updated>2022-10-18T15:16:22+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-10-18T15:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d67b6310d3e529b4d4a56ba8d850aa5bccfb83b5'/>
<id>d67b6310d3e529b4d4a56ba8d850aa5bccfb83b5</id>
<content type='text'>
* Link to packed data doc

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Link to packed data doc

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

* Update pack.rb

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;

Co-authored-by: Peter Zhu &lt;peter@peterzhu.ca&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Repair format and links in What's Here sections (#5711)</title>
<updated>2022-03-25T15:52:06+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-03-25T15:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f918f6e4e74541a184a15762a8593fb3f1b9614d'/>
<id>f918f6e4e74541a184a15762a8593fb3f1b9614d</id>
<content type='text'>
* Repair format and links in What's Here for Comparable and Array

* Repair format for What's Here in enum.c</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Repair format and links in What's Here for Comparable and Array

* Repair format for What's Here in enum.c</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix String#unpack and #unpack1 docs (#5331)</title>
<updated>2021-12-23T20:58:13+00:00</updated>
<author>
<name>Victor Shepelev</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2021-12-23T20:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0b999bef29ead1faeefd7a034dac435795c9fe1a'/>
<id>0b999bef29ead1faeefd7a034dac435795c9fe1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pack.c: add an offset argument to unpack and unpack1</title>
<updated>2021-10-26T20:27:30+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-10-18T14:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e5319dc9856298f38aa9cdc6ed55e39ad0e8e070'/>
<id>e5319dc9856298f38aa9cdc6ed55e39ad0e8e070</id>
<content type='text'>
[Feature #18254]

This is useful to avoid repeteadly copying strings when parsing binary formats
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Feature #18254]

This is useful to avoid repeteadly copying strings when parsing binary formats
</pre>
</div>
</content>
</entry>
<entry>
<title>add example for buffer: argument of pack.</title>
<updated>2021-10-25T03:25:13+00:00</updated>
<author>
<name>Tanaka Akira</name>
<email>akr@fsij.org</email>
</author>
<published>2021-10-25T03:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b74f9d656a028430d942fb609f79c4027f0549fa'/>
<id>b74f9d656a028430d942fb609f79c4027f0549fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
