Method: Async::Runner::Command#container_options

Defined in:
lib/async/runner/command.rb

#container_optionsObject



88
89
90
91
92
93
94
# File 'lib/async/runner/command.rb', line 88

def container_options
  if @options[:container] == :hybrid
    options.slice(:count, :forks, :threads, :name, :restart, :key)
  else
    options.slice(:count, :name, :restart, :key)
  end
end