reverse_each is like Array#each or Hash#each - in reverse:
a = [1,2,3] a.each { |v| puts v } # 1 # 2 # 3 a.reverse_each { |v| puts v } # 3 # 2 # 1
You can use HTML tags for formatting. Wrap code in <code> tags and multiple lines of code in <pre><code> tags.