Sha256: 4683282a766871728afda635ddb6a8bcb5824b6dda080cb8b0fd091b185e6046
Contents?: true
Size: 287 Bytes
Versions: 1
Compression:
Stored size: 287 Bytes
Contents
module SnapCI module ParallelTests class Grouper class <<self def group_by_filename(things) things.sort end def group_by_filesize(things) things.sort { |a, b| File.size(a) <=> File.size(b) } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snap_ci-parallel_tests-0.0.1 | lib/snap_ci/parallel_tests/grouper.rb |