Age | Commit message (Collapse) | Author |
|
|
|
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]
|
|
Add separate doc/syntax/pattern_matching.rdoc, add
link to control_expressions.rdoc.
The documentation is "reverse-engineered" from Ruby 2.7
behavior and early preview presentations, and corrected
by pattern-matching feature author @k-tsj.
Notes:
Merged: https://github.com/ruby/ruby/pull/2786
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2844
|
|
to /projects/ruby-master
|
|
|
|
In #2612 I made two typos (extra ,, and copy-pasted
same line of code instead of showing two different
ones), fixing them.
Notes:
Merged: https://github.com/ruby/ruby/pull/2771
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
|
|
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
|
|
* Top-level `return`;
* Documentation for comments syntax;
* `rescue` inside blocks;
* Enhance `Object#to_enum` docs;
* Make `chomp:` option more obvious for `String#each_line` and
`#lines`;
* Enhance `Proc#>>` and `#<<` docs;
* Enhance `Processs` class docs.
Notes:
Merged: https://github.com/ruby/ruby/pull/2612
|
|
In the grammar, all expressions are statements, but not all
statements are expressions. Some parts of the grammar accept
expressions and not other types of statements, which causes
similar looking code to parse differently due to operator
precedence.
Mostly from Dan0042 (Daniel DeLorme).
Fixes [Bug #16092]
|
|
|
|
|
|
[Feature #11297] [Feature #16123]
|
|
[Feature #11297] [Feature #16123]
|
|
Two advantages:
- higher relevance of the extremely common word "heredocs" which may
help people find this page when searching for "ruby heredocs"
- the anchor link becomes `#label-Here+Documents+-28heredocs-29`, which is
ugly due to the parentheses but includes the word "heredocs" in the URL to
this section
If anyone knows a way to prevent RDoc from turning invalid characters into
ugly and meaningless ASCII codes, I'm listening. I don't want to break existing
anchor links but RDoc should really ignore these characters or turn them into
dashes.
Closes: https://github.com/ruby/ruby/pull/2103
|
|
|