Flowdock
method

expand

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 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.