/* * call-seq: * dvector.rindex(number) -> int or nil * * Returns the index of the last object in _dvector_ * <code>==</code> to _number_. Returns <code>nil</code> if * no match is found. * * a = Dvector[ 1, 2, 3, 4, 5, 4, 3, 2 ] * a.rindex(3) -> 6 * a.rindex(0) -> nil */ VALUE dvector_rindex(VALUE ary, VALUE val) {