Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
lambda « Method « Ruby
Ruby
Method
lambda
1.
It's possible to store code blocks within variables, using the lambda method
2.
Use lambda to create a block
3.
Use lambda to create a list of function
4.
Invoking Blocks
5.
return a lambda function
6.
Provide different number of parameters for lambda