Age | Commit message (Collapse) | Author |
|
Fixes [Bug #18887]
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5902
|
|
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
|
|
Should also the label in an explicit `rdoc-ref:` link be converted
in the future?
|
|
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]
Notes:
Merged: https://github.com/ruby/ruby/pull/5148
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5244
Merged-By: nobu <[email protected]>
|
|
Makes link targets among percent literals.
Adds links to those targets.
Adds examples to percent literals.
Links from opening summary list to corresponding sections.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
* Adding links to literals and Kernel
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Adds remarks about literals and Kernel methods to Float and Integer.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
block to another method without having to provide a name for the
block parameter.
Implements [Feature #11256]
Co-authored-by: Yusuke Endoh [email protected]
Co-authored-by: Nobuyoshi Nakada [email protected]
Notes:
Merged: https://github.com/ruby/ruby/pull/5051
|
|
Magic comments like `frozen_string_literal` may appear everywhere
within the first comment section while `encoding` have to be the first
line, or second line after shebang.
Notes:
Merged: https://github.com/ruby/ruby/pull/4985
|
|
|
|
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
|
|
Pin matching for local variables and constants is already supported,
and it is fairly simple to add support for these variable types.
Note that pin matching for method calls is still not supported
without wrapping in parentheses (pin expressions). I think that's
for the best as method calls are far more complex (arguments/blocks).
Implements [Feature #17724]
Notes:
Merged: https://github.com/ruby/ruby/pull/4502
|
|
From Thibault Jouan
Fixes [Misc #17872]
|
|
Remove discussion of Ruby 2.7 specific handling of keyword
argument separation. Add a small example of keyword to
positional hash conversion for methods not accepting
keyword arguments.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4409
|
|
This commit is based on the patch by @nobu.
|
|
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4264
|
|
* typos, grammar, formatting
* use `concrete_method` again in `regular_method` example,
to better distinguish from `forwarding_method` example
* clarify that leading arguments before `...` require Ruby 3.0
|
|
|
|
* Add endless methods
* Add argument forwarding ...
Notes:
Merged: https://github.com/ruby/ruby/pull/3997
|
|
|
|
|
|
|
|
pointed by @marcandre.
|
|
"experimental_everything" makes the assigned value, it means
the assignment change the state of assigned value.
"experimental_copy" tries to make a deep copy and make copyied object
sharable.
Notes:
Merged: https://github.com/ruby/ruby/pull/3989
|
|
* remove a duplicate statement
* fix rdoc markup
* fix typos
|
|
|
|
Thanks to @zverok for the report.
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3828
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3651
|
|
|
|
|
|
Fixes [Bug #16977]
|
|
* Per @nobu review
* Rdoc enhancements for Array
* Responses to review
Notes:
Merged-By: drbrain <[email protected]>
|
|
This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2952
|
|
[ci skip]
Fixes [Bug #11304]
|