Files
developer-roadmap/roadmaps/ruby/content/lambdas@Tb5DcDuAZNyuIPepJ_yy4.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

999 B

Lambdas

Lambdas are anonymous functions, meaning they are functions without a name. They are objects in Ruby and can be treated like any other object, such as being passed as arguments to methods or stored in variables. Lambdas are defined using the lambda keyword or the shorthand -> syntax, and they are similar to procs but differ in how they handle arguments and return statements.

Visit the following resources to learn more: