Method: UnboundMethod#name
- Defined in:
- proc.c
#name ⇒ Object
Returns the name of the method.
1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'proc.c', line 1945
static VALUE
method_name(VALUE obj)
{
struct METHOD *data;
TypedData_Get_Struct(obj, struct METHOD, &method_data_type, data);
return ID2SYM(data->me->called_id);
}
|