Sha256: 814ffe89862eee0b39368e94f5711a72e8f2945d3e4e917842aa61ca4497cfa6
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true require_relative "executor/context" require_relative "executor/concurrent" module CobraCommander # Execute a command on all given components module Executor def self.exec(components:, command:, concurrency:, status_output:) Concurrent.new(components, concurrency: concurrency, spin_output: status_output) .exec(command) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cobra_commander-0.14.0 | lib/cobra_commander/executor.rb |
cobra_commander-0.13.0 | lib/cobra_commander/executor.rb |