Lambda

From RubySpec

Jump to: navigation, search

Lambda

Lambda method converts a block to a Proc object.

the return value of calling lambda is an instance of class Proc.

Personal tools