ext/ruby_prof.c
static VALUE
prof_method_name(VALUE self)
{
    prof_method_t *method = get_prof_method(self);
    return method_name(method->mid, method->depth);
}
/* call-seq:
   method_name -> string

Returns the name of this method in the format Object#method.  Singletons
methods will be returned in the format <Object::Object>#method.*/
call-seq:
method_name -> string

Returns the name of this method in the format Object#method.  Singletons
methods will be returned in the format #method.
call - seq : method_name - > string Returns the name of this method in the format Object#method . Singletons methods will be returned in the format #method .
static VALUE
prof_method_name(VALUE self)
{
    prof_method_t *method = get_prof_method(self);
    return method_name(method->mid, method->depth);
}
static VALUE prof_method_name ( VALUE self ) { prof_method_t * method = get_prof_method ( self ) ; return method_name ( method -> mid , method -> depth ) ; }
call-seq:
method_name -> string
call - seq : method_name - > string