Issue #17329 has been updated by zverok (Victor Shepelev).


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](https://github.com/ruby/ruby/pull/2786) 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 :(

----------------------------------------
Misc #17329: Doc for pattern match?
https://bugs.ruby-lang.org/issues/17329#change-88537

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
----------------------------------------
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.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>