Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

UnboundMethod#bind_call

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.4 · 3.3 · 3.2 · 3.0