hit_condition (Debugger::Breakpoint)

    /*
     *   call-seq:
     *      breakpoint.hit_condition -> symbol
     *
     *   Returns the hit condition of the breakpoint:
     *
     *   +nil+ if it is an unconditional breakpoint, or
     *   :greater_or_equal, :equal, :modulo
     */
    static VALUE
    breakpoint_hit_condition(VALUE self)
    {
        debug_breakpoint_t *breakpoint;

        Data_Get_Struct(self, debug_breakpoint_t, breakpoint);
        switch(breakpoint->hit_condition)
        {
            case HIT_COND_GE:
                return ID2SYM(rb_intern("greater_or_equal"));
            case HIT_COND_EQ:
                return ID2SYM(rb_intern("equal"));
            case HIT_COND_MOD:
                return ID2SYM(rb_intern("modulo"));
            case HIT_COND_NONE:
            default:
                return Qnil;
        }
    }