Sha256: f72d99b86f8df41852e7051edb6dacfd225c5c4364f74915c2fec004514fbea8
Contents?: true
Size: 232 Bytes
Versions: 11
Compression:
Stored size: 232 Bytes
Contents
module Enumerable def reverse_each(&block) return to_enum(:reverse_each) unless block_given? # There is no other way then to convert to an array first... see 1.9's source. to_a.reverse_each(&block) self end end
Version data entries
11 entries across 11 versions & 2 rubygems