/* * call-seq: * dvector.where_gt(number) -> int or nil * dvector.where_first_gt(number) -> int or nil * * Returns the index of the first entry in _dvector_ with value greater than _number_, <code>nil</code> if * _dvector_ has no such entry. * * a = Dvector[ 1, 2, -3, 4, -5, 4, 3, -5, 2 ] * a.where_gt(3) -> 3 * a.where_gt(4) -> nil * Dvector[].where_gt(0) -> nil */ VALUE dvector_where_first_gt(VALUE ary, VALUE item) {