class ProcessExecuter::Options

def valid_option?(option)

Other tags:
    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