instance method
Binding#receiver
() -> untyped
binding.receiver → object
proc.c
View on GitHub ↗
static VALUE
bind_receiver(VALUE bindval)
{
const rb_binding_t *bind;
GetBindingPtr(bindval, bind);
return vm_block_self(&bind->block);
}
Returns the bound receiver of the binding object.
See also
#local_variable_set
#source_location
#local_variables
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0