Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > xmlrpc/clientライブラリ > XMLRPC::Clientクラス > call2

instance method XMLRPC::Client#call2

call2(method, *args)[permalink][rdoc]

The difference between this method and XMLRPC::Client#call is, that this method do ((*not*)) raise a XMLRPC::FaultException exception. The method returns an array of two values. The first value indicates if the second value is a return-value (true) or an object of type XMLRPC::FaultException. Both are explained in XMLRPC::Client#call.

Simple to remember: The "2" in "call2" denotes the number of values it returns.