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