class ProcessExecuter::Options
def valid_option?(option)
- Api: - private
Returns:
-
(Boolean)
- true if the given option is a valid option
Parameters:
-
option
(Symbol
) -- the option to be tested
def valid_option?(option) ALL_OPTIONS.include?(option) || option.is_a?(Integer) || option.respond_to?(:fileno) end