method

set_writer

ruby latest stable - Class: XMLRPC::ParserWriterChooseMixin

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

set_writer(writer)
public

Sets the XMLWriter to use for generating XML output.

Should be an instance of a class from module XMLRPC::XMLWriter.

If this method is not called, then XMLRPC::Config::DEFAULT_WRITER is used.