reverse_each() public

Same as Array#each, but traverses self in reverse order.

   a = [ "a", "b", "c" ]
   a.reverse_each {|x| print x, " " }

produces:

   c b a
Show source
Register or log in to add new notes.