ary.reverse_each { |item| block } â ary
ary.reverse_each â Enumerator
ary.reverse_each â Enumerator
Instance Public methods
Same as #each, but traverses
self
in reverse order.
a = [ "a", "b", "c" ] a.reverse_each {|x| print x, " " }
produces:
c b a
Please login to continue.