Class: ProcessExecuter::Destinations::Close Private
- Inherits:
-
DestinationBase
- Object
- DestinationBase
- ProcessExecuter::Destinations::Close
- Defined in:
- lib/process_executer/destinations/close.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Handles the :close redirection option as supported by Process.spawn
Instance Attribute Summary
Attributes inherited from DestinationBase
Class Method Summary collapse
-
.compatible_with_monitored_pipe? ⇒ Boolean
private
This class should not be wrapped in a monitored pipe.
-
.handles?(destination) ⇒ Boolean
private
Determines if this class can handle the given destination.
Methods inherited from DestinationBase
#close, #compatible_with_monitored_pipe?, #initialize, #write
Constructor Details
This class inherits a constructor from ProcessExecuter::Destinations::DestinationBase
Class Method Details
.compatible_with_monitored_pipe? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This class should not be wrapped in a monitored pipe
21 |
# File 'lib/process_executer/destinations/close.rb', line 21 def self.compatible_with_monitored_pipe? = false |
.handles?(destination) ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Determines if this class can handle the given destination
15 16 17 |
# File 'lib/process_executer/destinations/close.rb', line 15 def self.handles?(destination) destination == :close end |