Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > xmlrpc/serverライブラリ > XMLRPC::BasicServerクラス > set_writer

instance method XMLRPC::BasicServer#set_writer

set_writer(writer)[permalink][rdoc]

Sets the XML writer 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.