mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a message in example code
Thanks to @zverok for the report.
This commit is contained in:
parent
31b17a14ab
commit
b222a1a494
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ Variables that start with <code>_</code> are the only exclusions from this rule:
|
|||
else
|
||||
"not matched"
|
||||
end
|
||||
# => "matched: 1"
|
||||
# => "matched: 1, 2"
|
||||
|
||||
It is, though, not advised to reuse bound value, as these pattern's goal is to signify discarded value.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue