diff options
Diffstat (limited to 'doc/mruby3.md')
| -rw-r--r-- | doc/mruby3.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/mruby3.md b/doc/mruby3.md index fdf21ed19..40869ecee 100644 --- a/doc/mruby3.md +++ b/doc/mruby3.md @@ -32,7 +32,8 @@ pull-request. We have ported some new syntax from CRuby. -* R-assignment (`12 => x`) +* Single line pattern matching (`12 => x`); + mruby matches only with local variables at the moment * Numbered block parameter (`x.map{_1 * 2}`) * End-less `def` (`def double(x) = x*2`) |
