Sha256: efe8ba6b455de1794213ecd3a8a2c552b0d6928f5737c0f368634366d2b587a8
Contents?: true
Size: 88 Bytes
Versions: 9
Compression:
Stored size: 88 Bytes
Contents
class Array def map_with_index i = -1 map{ |e| i+=1; yield e, i; } end end
Version data entries
9 entries across 9 versions & 1 rubygems