<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/proc.c, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fix UnboundMethod#== for methods from included/extended modules [Backport #21873]</title>
<updated>2026-02-10T18:32:51+00:00</updated>
<author>
<name>Mike Dalessio</name>
<email>mike@37signals.com</email>
</author>
<published>2026-02-10T17:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0768f08caff514b0ba616dc26d76aad90577eefe'/>
<id>0768f08caff514b0ba616dc26d76aad90577eefe</id>
<content type='text'>
Method#unbind clones the method entry, preserving its defined_class.
For methods mixed in via include/extend, defined_class is an ICLASS,
causing UnboundMethod#== to return false when comparing against the
same method obtained via Module#instance_method.

Resolve ICLASS defined_class in method_eq.

[Bug #21873]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Method#unbind clones the method entry, preserving its defined_class.
For methods mixed in via include/extend, defined_class is an ICLASS,
causing UnboundMethod#== to return false when comparing against the
same method obtained via Module#instance_method.

Resolve ICLASS defined_class in method_eq.

[Bug #21873]
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Combine docs for Method#call aliases</title>
<updated>2025-12-23T14:00:04+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-22T16:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d517e04806616d2384fd2e1e3aa63eea99036669'/>
<id>d517e04806616d2384fd2e1e3aa63eea99036669</id>
<content type='text'>
RDoc does not parse the documentation for the Method#call aliases, so we
should combine the aliases into one documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RDoc does not parse the documentation for the Method#call aliases, so we
should combine the aliases into one documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve call-seq of Proc#call</title>
<updated>2025-12-22T14:12:54+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-18T23:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6a2cd630d5d4188f2d6d94a136821af72774e7ba'/>
<id>6a2cd630d5d4188f2d6d94a136821af72774e7ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve docs for Method#&gt;&gt;</title>
<updated>2025-12-21T19:08:00+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-20T02:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cfb324e9d12d0d40a8f9052b97a860737b78224f'/>
<id>cfb324e9d12d0d40a8f9052b97a860737b78224f</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 call-seq for Method#&gt;&gt;</title>
<updated>2025-12-21T19:08:00+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-20T01:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9f8231b7f8a7c625bbfdbfa0bfb838cd0ab1d941'/>
<id>9f8231b7f8a7c625bbfdbfa0bfb838cd0ab1d941</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Improve docs for Method#&lt;&lt;</title>
<updated>2025-12-21T19:08:00+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-20T01:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=759187b56043c3cda2887e3445f19a35d55743cb'/>
<id>759187b56043c3cda2887e3445f19a35d55743cb</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 call-seq for Method#&lt;&lt;</title>
<updated>2025-12-21T19:08:00+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-20T01:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=76441060f230b8a797c1792e71dcce308ca3cf43'/>
<id>76441060f230b8a797c1792e71dcce308ca3cf43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>RBOOL is unnecessary in C boolean context</title>
<updated>2025-12-18T07:42:20+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-18T06:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=85ff21c9e5986c52814b7e5ed3402e2a964c542e'/>
<id>85ff21c9e5986c52814b7e5ed3402e2a964c542e</id>
<content type='text'>
Fix a `-Wint-in-bool-context` warning.

```
proc.c:688:33: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context]
  688 |     if (RBOOL(get_local_variable_ptr(&amp;env, idItImplicit, FALSE))) {
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix a `-Wint-in-bool-context` warning.

```
proc.c:688:33: warning: '?:' using integer constants in boolean context [-Wint-in-bool-context]
  688 |     if (RBOOL(get_local_variable_ptr(&amp;env, idItImplicit, FALSE))) {
```
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix call-seq of Method#box</title>
<updated>2025-12-17T02:03:57+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-12-16T22:49:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f483484fc610589a6faf828a77fd76f15fb4ebb3'/>
<id>f483484fc610589a6faf828a77fd76f15fb4ebb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Feature #6012] Extend `source_location` for end position</title>
<updated>2025-12-16T07:13:07+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-12-16T03:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=065c48cdf11a1c4cece84db44ed8624d294f8fd5'/>
<id>065c48cdf11a1c4cece84db44ed8624d294f8fd5</id>
<content type='text'>
and columns"

This reverts commit 073c4e1cc712064e626914fa4a5a8061f903a637.

https://bugs.ruby-lang.org/issues/6012#note-31
&gt; we will cancel this feature in 4.0 because of design ambiguities
&gt; such as whether to return column positions in bytes or characters as
&gt; in [#21783].

[#21783]: https://bugs.ruby-lang.org/issues/21783
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and columns"

This reverts commit 073c4e1cc712064e626914fa4a5a8061f903a637.

https://bugs.ruby-lang.org/issues/6012#note-31
&gt; we will cancel this feature in 4.0 because of design ambiguities
&gt; such as whether to return column positions in bytes or characters as
&gt; in [#21783].

[#21783]: https://bugs.ruby-lang.org/issues/21783
</pre>
</div>
</content>
</entry>
</feed>
