Sha256: b6de312bac329f3c02941e3dd21f29b74c63171ba84a208f43230b787bf4cb09

Contents?: true

Size: 227 Bytes

Versions: 2

Compression:

Stored size: 227 Bytes

Contents

require 'pork/executor'

module Pork
  class Shuffled < Executor
    def execute stat=Stat.new, paths=isolator.all_paths
      stat.prepare(paths)
      paths.shuffle.inject(stat, &isolator.method(:isolate))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pork-2.1.0 lib/pork/mode/shuffled.rb
pork-2.0.0 lib/pork/mode/shuffled.rb