Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

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 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0