/* * call-seq: * context.frame_line(frame) -> int * * Returns the line number in the file. */ static VALUE context_frame_line(VALUE self, VALUE frame) { debug_context_t *debug_context; debug_check_started(); Data_Get_Struct(self, debug_context_t, debug_context); return INT2FIX(GET_FRAME->line); }