/*
* call-seq:
* context.frame_binding(frame_position=0) -> binding
*
* Returns frame's binding.
*/
static VALUE
context_frame_binding(int argc, VALUE *argv, VALUE self)
{
VALUE frame;
debug_context_t *debug_context;
debug_check_started();
frame = optional_frame_position(argc, argv);
Data_Get_Struct(self, debug_context_t, debug_context);
return GET_FRAME->binding;
}