DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby lambda function
a = -> { 1 + 1 } a.call # => 2 a = -> (v) { v + 1 } a.call(2) # => 3
PREVIOUS
NEXT
Tagged:
#ruby
#lambda
#function
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit