Sha256: 9f24fe647ba0ed211b462d0a82f5c093fc878ee5c631f8f53c74b69304b66998
Contents?: true
Size: 163 Bytes
Versions: 14
Compression:
Stored size: 163 Bytes
Contents
module Enumerable def each_with_sortable_id(&block) raise "Must be called with block!" unless block_given? each { |e| yield e, e.sortable_id } end end
Version data entries
14 entries across 14 versions & 1 rubygems