Misc #17329
closedDoc for pattern match?
Description
Is there an official doc for pattern matching?
I note that case
in https://ruby-doc.org/core-2.7.2/doc/syntax/control_expressions_rdoc.html does not mention it, and in
does not appear.
Updated by zverok (Victor Shepelev) about 4 years ago
Funny.
Here: https://docs.ruby-lang.org/en/master/doc/syntax/control_expressions_rdoc.html#label-case+Expression we have
Since Ruby 2.7, case expressions also provide ....
I added the docs after the release of 2.7, unfortunately. Maybe ruby-doc.org doesn't refetch it for minor versions? It seems to correspond to https://docs.ruby-lang.org/en/2.7.0/doc/syntax/control_expressions_rdoc.html#label-case+Expression
Arrgh, also I see that on docs.ruby-lang.org "[on its own page]" in the last phrase is NOT linked to https://docs.ruby-lang.org/en/master/doc/syntax/pattern_matching_rdoc.html somehow :(
Updated by zverok (Victor Shepelev) about 4 years ago
(As an aside note, I really believe Ruby needs some kind of "Documentation working group", the current state of things is errrrm sub-optimal.)
Updated by marcandre (Marc-Andre Lafortune) about 4 years ago
Ohh, glad to see it's there, not updated.
There have been many improvements by @burdettelamar (Burdette Lamar), we should definitely update the published doc as it is today.
Who has access to do that?
Updated by zverok (Victor Shepelev) about 4 years ago
Who has access to do that?
If you mean access to ruby-doc.org, I believe it is one-person project. Last time I wanted something to be fixed there I've just contacted maintainer on Twitter: https://twitter.com/zverok/status/1210512556449763329 (responses are currently removed, but he answered quickly and fixed the problem).
Updated by marcandre (Marc-Andre Lafortune) about 4 years ago
- Status changed from Open to Closed
Ah, I confused both sites. Closing this then.