Skip to content
instance method

UnboundMethod#bind_call

(untyped recv, *untyped, **untyped) ?{ (?) -> untyped } -> untyped
umeth.bind_call(recv, args, ...) → obj

Bind umeth to recv and then invokes the method with the specified arguments. This is semantically equivalent to umeth.bind(recv).call(args, ...).

See also #bind #clone #arity #eql? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0