diff options
author | Kazuki Tsujimoto <[email protected]> | 2021-07-17 11:13:52 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <[email protected]> | 2021-07-17 11:13:52 +0900 |
commit | eed5e8f796ab18e2e0a436dab83e35504ae3ded0 (patch) | |
tree | febfbe44e74849e2198a980451885fc692475fab /doc/syntax/pattern_matching.rdoc | |
parent | fd0df9c4fb36597e5e3f500670b29dbd77a14eca (diff) |
One-line pattern matching is no longer experimental
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
Diffstat (limited to 'doc/syntax/pattern_matching.rdoc')
-rw-r--r-- | doc/syntax/pattern_matching.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc index 49835def22..f80703d5c6 100644 --- a/doc/syntax/pattern_matching.rdoc +++ b/doc/syntax/pattern_matching.rdoc @@ -441,7 +441,7 @@ Additionally, when matching custom classes, the expected class can be specified == Current feature status -As of Ruby 3.0, one-line pattern matching and find patterns are considered _experimental_: its syntax can change in the future. Every time you use these features in code, a warning will be printed: +As of Ruby 3.1, find patterns are considered _experimental_: its syntax can change in the future. Every time you use these features in code, a warning will be printed: [0] => [*, 0, *] # warning: Find pattern is experimental, and the behavior may change in future versions of Ruby! |