<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby.git/doc/syntax, branch ruby_3_2</title>
<subtitle>github.com: ruby/ruby.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/'/>
<entry>
<title>merge revision(s) e7342e76dfd26237c604e42f9a59a1eaa578c94e: [Backport #19485]</title>
<updated>2023-03-23T03:04:46+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2023-03-23T03:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=b93e2223300bc54dfa387ffb9fa3d48ecbe670f0'/>
<id>b93e2223300bc54dfa387ffb9fa3d48ecbe670f0</id>
<content type='text'>
	[Bug #19485] [DOC] Mention tabs in indentation of heredoc identifier

	Co-Authored-By: sawa (Tsuyoshi Sawada) &lt;sawadatsuyoshi@gmail.com&gt;
	---
	 doc/syntax/literals.rdoc | 6 ++++++
	 1 file changed, 6 insertions(+)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[Bug #19485] [DOC] Mention tabs in indentation of heredoc identifier

	Co-Authored-By: sawa (Tsuyoshi Sawada) &lt;sawadatsuyoshi@gmail.com&gt;
	---
	 doc/syntax/literals.rdoc | 6 ++++++
	 1 file changed, 6 insertions(+)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix language describing protected methods</title>
<updated>2022-07-14T20:28:58+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2022-07-14T20:28:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=4813443837d76e27eb293f1928bda7a47b9e8f3f'/>
<id>4813443837d76e27eb293f1928bda7a47b9e8f3f</id>
<content type='text'>
Fixes [Bug #18887]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #18887]
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct documentation for protected methods [ci skip]</title>
<updated>2022-06-23T20:50:26+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2022-03-12T03:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=962a3247b1b76770930200bcce7470a54dfb25c9'/>
<id>962a3247b1b76770930200bcce7470a54dfb25c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Quick markup fix</title>
<updated>2022-05-11T22:53:46+00:00</updated>
<author>
<name>Alexey Mostovoy</name>
<email>1931904+AMurkin@users.noreply.github.com</email>
</author>
<published>2022-05-11T20:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=9f9a0940ddd6dd9cec03a9e13c543cea14f8d38a'/>
<id>9f9a0940ddd6dd9cec03a9e13c543cea14f8d38a</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 assignment expression values</title>
<updated>2022-04-25T14:50:49+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-04-25T14:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=5701b4084e7bdcd64b6a940c95d41888734f5ca6'/>
<id>5701b4084e7bdcd64b6a940c95d41888734f5ca6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More details for Rational literals (#5840)</title>
<updated>2022-04-25T00:41:26+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-04-25T00:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=d41bc9b68ec39b053c4794c693c351e05242ada3'/>
<id>d41bc9b68ec39b053c4794c693c351e05242ada3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More details for regexp literals (#5800)</title>
<updated>2022-04-14T19:25:06+00:00</updated>
<author>
<name>Burdette Lamar</name>
<email>BurdetteLamar@Yahoo.com</email>
</author>
<published>2022-04-14T19:25:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=01395d84aba82cf9f9f6ac53aeb3e6f142bd8d83'/>
<id>01395d84aba82cf9f9f6ac53aeb3e6f142bd8d83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Refine flip-flop</title>
<updated>2022-03-24T10:08:43+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-03-24T10:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=e6c1db1d8a95d3eb52759414660d005a6d109cda'/>
<id>e6c1db1d8a95d3eb52759414660d005a6d109cda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Prefer the original file names over generated names</title>
<updated>2022-02-09T06:31:10+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-02-09T06:31:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=adca6f24b12d15299bf82fb518502dd27f4add84'/>
<id>adca6f24b12d15299bf82fb518502dd27f4add84</id>
<content type='text'>
Should also the label in an explicit `rdoc-ref:` link be converted
in the future?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should also the label in an explicit `rdoc-ref:` link be converted
in the future?
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for anonymous rest and keyword rest argument forwarding</title>
<updated>2021-12-30T22:37:42+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-11-19T17:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=f53dfab95c30e222f67e610234f63d3e9189234d'/>
<id>f53dfab95c30e222f67e610234f63d3e9189234d</id>
<content type='text'>
This allows for the following syntax:

```ruby
def foo(*)
  bar(*)
end
def baz(**)
  quux(**)
end
```

This is a natural addition after the introduction of anonymous
block forwarding.  Anonymous rest and keyword rest arguments were
already supported in method parameters, this just allows them to
be used as arguments to other methods.  The same advantages of
anonymous block forwarding apply to rest and keyword rest argument
forwarding.

This has some minor changes to #parameters output.  Now, instead
of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`.
These were already used for `...` forwarding, so I think it makes
it more consistent to include them in other cases.  If we want to
use `[:rest], [:keyrest]` in both cases, that is also possible.

I don't think the previous behavior of `[:rest], [:keyrest]` in
the non-... case and `[:rest, :*], [:keyrest, :**]` in the ...
case makes sense, but if we did want that behavior, we'll have to
make more substantial changes, such as using a different ID in the
... forwarding case.

Implements [Feature #18351]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for the following syntax:

```ruby
def foo(*)
  bar(*)
end
def baz(**)
  quux(**)
end
```

This is a natural addition after the introduction of anonymous
block forwarding.  Anonymous rest and keyword rest arguments were
already supported in method parameters, this just allows them to
be used as arguments to other methods.  The same advantages of
anonymous block forwarding apply to rest and keyword rest argument
forwarding.

This has some minor changes to #parameters output.  Now, instead
of `[:rest], [:keyrest]`, you get `[:rest, :*], [:keyrest, :**]`.
These were already used for `...` forwarding, so I think it makes
it more consistent to include them in other cases.  If we want to
use `[:rest], [:keyrest]` in both cases, that is also possible.

I don't think the previous behavior of `[:rest], [:keyrest]` in
the non-... case and `[:rest, :*], [:keyrest, :**]` in the ...
case makes sense, but if we did want that behavior, we'll have to
make more substantial changes, such as using a different ID in the
... forwarding case.

Implements [Feature #18351]
</pre>
</div>
</content>
</entry>
</feed>
