class ProcessExecuter::Destinations::Close

Handles the :close redirection option as supported by ‘Process.spawn`

@api private

Public Class Methods

compatible_with_monitored_pipe?(= false) click to toggle source

This class should not be wrapped in a monitored pipe @return [Boolean]

# File lib/process_executer/destinations/close.rb, line 21
  def self.compatible_with_monitored_pipe? = false
end
handles?(destination) click to toggle source

Determines if this class can handle the given destination

@param destination [Object] the destination to check @return [Boolean] true if the destination is the symbol ‘:close`

# File lib/process_executer/destinations/close.rb, line 15
def self.handles?(destination)
  destination == :close
end