![]() |
VOOZH | about |
Syntax: enu.reverse_each { |obj| block } Parameters: The function accepts a block. Return Value: It returns the elements in reverse order.Example 1: Output:
false true false true false true false true false trueExample 2: Output:
Enumerator: [1, 7, 10, 11]:reverse_each