Removed unrelated section about lambdas (#18734)

This commit is contained in:
Shafrazi
2018-10-16 01:15:54 +05:30
committed by Quincy Larson
parent 4f6fb22e7f
commit 44f509f738

View File

@@ -41,11 +41,7 @@ You can check the last element of an array with the `last` method:
mixed_array.last # true
```
#### Ruby Lambda
A lambda is also commonly referred to as an anonymous function. To create a lambda in Ruby, you can use the following syntax:
```ruby
lambda = lambda {}
```
#### More Information:
<a href='https://ruby-doc.org/core-2.4.2/Array.html' target='_blank' rel='nofollow'>Ruby array documentation</a>