Closure

From knowledgebase
Jump to navigation Jump to search

A closure is a block of code that can be passed as an argument to a function call.

http://www.martinfowler.com/bliki/Closure.html

Ruby has closures.