Flowdock
method

expand

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: CallTemplate
expand(target, value, block) public

Return the parts needed to make this call, with the given input values.

Returns an array of the form:

[target, block, method, *arguments]

This array can be used as such:

target.send(method, *arguments, &block)

The actual invocation is left up to the caller to minimize call stack pollution.

Show source
Register or log in to add new notes.