From 44f509f738e1592381db46150fe33697e9126a41 Mon Sep 17 00:00:00 2001 From: Shafrazi Date: Tue, 16 Oct 2018 01:15:54 +0530 Subject: [PATCH] Removed unrelated section about lambdas (#18734) --- client/src/pages/guide/english/ruby/ruby-arrays/index.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/src/pages/guide/english/ruby/ruby-arrays/index.md b/client/src/pages/guide/english/ruby/ruby-arrays/index.md index 8784a41f04..18c204eb01 100644 --- a/client/src/pages/guide/english/ruby/ruby-arrays/index.md +++ b/client/src/pages/guide/english/ruby/ruby-arrays/index.md @@ -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: Ruby array documentation