Lambda: standard # Creating a lambda l = lambda { |name| "Hi #{name}!" } # Executing the lambda l.call("foo") # => Hi foo!