APIdock / Ruby
/
method

receiver

ruby latest stable - Class: Method
receiver()
public

Returns the bound receiver of the method object.

static VALUE
method_receiver(VALUE obj)
{
 struct METHOD *data;
 TypedData_Get_Struct(obj, struct METHOD, &method_data_type, data);
 return data->recv;
}

AltStyle によって変換されたページ (->オリジナル) /