In this tutorial we will discuss about the difference between procs and lamda. I will share my experience and research on procs and lamda. I hope you will learn from it.
In Ruby, a lambda is an object similar to a proc. Unlike a proc, a lambda requires a specific number of arguments passed to it, and it return s to its calling method rather than returning immediately.
#rubyonrails #ruby
🛴 Follow me on:
Twitter: https://twitter.com/Toqeer__Abbas
LinkedIn : https://www.linkedin.com/in/toqeer-n-36a349125/
Facebook:https://www.facebook.com/toqeer.abbas.5688
Follow on FB page:https://www.facebook.com/codewithnaqvi