diff options
author | James Koenig <Koenig.James@Live.com> | 2020-11-30 12:48:31 -0800 |
---|---|---|
committer | Marc-André Lafortune <github@marc-andre.ca> | 2020-11-30 20:11:18 -0500 |
commit | a67cd8a8886eed7579c3ffbaf84beecda7ab7d2f (patch) | |
tree | 4524e0c9eafe3ea183b0bdbd5eeca7dfd067801e /doc/syntax/literals.rdoc | |
parent | 67693d8d806e67d6e50b303dd0be6ec06b81c853 (diff) |
-> creates a lambda so this updates the documentation to reflect that
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3828
Diffstat (limited to 'doc/syntax/literals.rdoc')
-rw-r--r-- | doc/syntax/literals.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index c9873f3271..d6d677806e 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -363,7 +363,7 @@ See Regexp for a description of the syntax of regular expressions. == Procs -A proc can be created with <tt>-></tt>: +A lambda proc can be created with <tt>-></tt>: -> { 1 + 1 } |