/* * call-seq: * context.frame_method(frame) -> sym * * Returns the sym of the called method. */ static VALUE context_frame_id(VALUE self, VALUE frame) { debug_context_t *debug_context; ID id; debug_check_started(); Data_Get_Struct(self, debug_context_t, debug_context); id = GET_FRAME->id; return id ? ID2SYM(id): Qnil; }