summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJames Koenig <Koenig.James@Live.com>2020-11-30 12:48:31 -0800
committerMarc-André Lafortune <github@marc-andre.ca>2020-11-30 20:11:18 -0500
commita67cd8a8886eed7579c3ffbaf84beecda7ab7d2f (patch)
tree4524e0c9eafe3ea183b0bdbd5eeca7dfd067801e /doc
parent67693d8d806e67d6e50b303dd0be6ec06b81c853 (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')
-rw-r--r--doc/syntax/literals.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc
index c9873f3..d6d6778 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 }