Method: Async::Runner::Command#container_class
- Defined in:
- lib/async/runner/command.rb
#container_class ⇒ Object
The container class to use.
77 78 79 80 81 82 83 84 85 86 |
# File 'lib/async/runner/command.rb', line 77 def container_class case @options[:container] when :threaded return Async::Container::Threaded when :forked return Async::Container::Forked when :hybrid return Async::Container::Hybrid end end |