mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
-> creates a lambda so this updates the documentation to reflect that
This commit is contained in:
parent
67693d8d80
commit
a67cd8a888
Notes:
git
2020-12-01 10:11:42 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue